-
Committer:
Tarmac
-
Author(s):
Mikkel Kamstrup Erlandsen
-
Date:
2011-12-01 12:16:59 UTC
-
mfrom:
(89.1.10 trace-log)
-
Revision ID:
tarmac-20111201121659-2l5uj5akhy3gagix
Add a Unity.Trace namespace with logging that is compiled out by default
The trace logging is not enabled everywhere yet. That will come in a later branch to avoid merge conflicts with the simple-dbus branch.
The trace logging is controlled via the --enable-trace-log configure switch. It's worth noting that Unity.Trace is new public API that is expected to be consumed, also, by the lenses. To use it include the 'unity-trace' package from Vala, or just include unity-trace.h from C. The C compiler must define ENABLE_UNITY_TRACE_LOG to enable the log statements at compile time. Fixes: . Reviewed by Michal Hruby.