Share and Money Management  0.16
Classes | Namespaces | Functions | Variables
log.py File Reference

SMM specific functions and classes to record and print out log messages. More...

Classes

class  gui.log.StringHandler
 Stores the log records as a list of strings. More...
class  gui.log.StreamHandler
class  gui.log.FileHandler

Namespaces

namespace  gui.log
 This module provides a own logger class as well as specific funtions to improve Pythons logging facility.

Functions

def gui.log.init
 Initialise the logging facility.
def gui.log.deinit
 Reactivate system exception handler.
def gui.log.getBufferAsList
 Returns all buffered messages.
def gui.log.getBufferAsString
 Returns all buffered messages.
def gui.log.flush
 Empty the buffer.
def gui.log.exception
 Logs an exception message and the formatted traceback.
def gui.log.installExceptionHandler
 Install own exception handler.
def gui.log.deinstallExceptionHandler
 Restore the original exception handler.
def gui.log.exceptionHandler
 Logs detailed information about uncatched exceptions.
def gui.log.getMessage
 Return the message for this LogRecord.

Variables

 gui.log.stringLoggerInstance = None
 Reference to the active StringHandler instance.
 gui.log._orig_exec_handler = None
 Contains the original exception handler.

Detailed Description

SMM specific functions and classes to record and print out log messages.