[Owncloud] What is the log API ?

Bartek Przybylski bart.p.pl at gmail.com
Sun Mar 4 17:47:20 UTC 2012


Hi Yoann!
It's in lib/log.php

use it like this:
OC_Log.write('appname', 'message', OC_Log.DEBUG);

you can find more examples in code :)

bartek

2012/3/4 Yoann Gini <yoann.gini at gmail.com>:
> Hi,
>
> I’ve almost done with a first version of how I see LDAP management but I’ve a last bug… As a C / Objective-C developer I’m used to work with gdb / lldb to handle problems but I’ve to say I haven’t any success to configure Xdebug with Eclipse (breakpoint don’t work…). So I would like to use the built-in log feature of ownCloud but I don’t see any documentation on your website.
>
> Can you tell me how to log with your system?
>
> Best regards,
> Yoann
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>



More information about the Owncloud mailing list