Changes
Jump to navigation
Jump to search
Development Team/Almanac/sugar.logger (view source)
Revision as of 21:55, 1 October 2008
, 21:55, 1 October 2008no edit summary
{{Sugar Almanac}}
=== How do I retrieve the top level logging directory on my XO? ===
The following code prints out the standard directory for logging in sugar.
<pre>
from sugar import logger
...
print logger.get_logs_dir()
</pre>
=== How do I retrieve the top level logging directory on my XO? ===
The following code prints out the standard directory for logging in sugar.
<pre>
from sugar import logger
...
print logger.get_logs_dir()
</pre>