Sugar.logger

From OLPC
Revision as of 19:34, 3 July 2008 by Fanwar (talk | contribs) (New page: === 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 ... prin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How do I retrieve the top level logging directory on my XO?

The following code prints out the standard directory for logging in sugar.

from sugar import logger
...
    print logger.get_logs_dir()