Package pyrobase :: Module logutil
[hide private]
[frames] | no frames]

Module logutil

source code

Logging Support.

Copyright (c) 2011 The PyroScope Project <pyroscope.project@gmail.com>

Functions [hide private]
 
shorten(text)
Reduce text length for displaying / logging purposes.
source code
 
get_logfile(logger=None)
Return log file of first file handler associated with the (root) logger.
source code
Variables [hide private]
  MAX_DISPLAY_LEN = 99
  __package__ = 'pyrobase'
Function Details [hide private]

get_logfile(logger=None)

source code 

Return log file of first file handler associated with the (root) logger. None if no such handler is found.