Sugar.logger

From OLPC
Revision as of 15: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, 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()