Re: [Tracker] libtracker-bus



On 16/07/13 14:29, Putinei .Ionut wrote:
Hello,

Hello Petinei,

How can i insert some logs into files from libtracker-bus?

debug ("foo");
message ("bar");
warning ("baz");

These translate to the g_{debug|message|warning} equivalent functions.

NOTE: you need to have debugging set up correctly to see any in the first place. This is usually done with:

$ export TRACKER_VERBOSITY=3
$ ./path/to/my/binary

Also the logs i inserted i will see them on client app or in tracker-store?

Logs are not inserted into the store, so unlikely the app either.
Do you really expect debug logs to be in the Tracker database?
We keep them out of the way on purpose because it's not generally useful.

Hope this helps, :)

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]