Difference between revisions of "Development Team/Almanac/sugar.logger"

From Sugar Labs
Jump to navigation Jump to search
(No difference)

Revision as of 21:55, 1 October 2008

  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.

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