Logger

This is a Python binding to the C++ class Mantid::Kernel::Logger.

class mantid.kernel.Logger((object)self, (str)name)
__init__((object)self, (str)name) → None

__init__( (object)arg1, (str)name) -> object

debug((Logger)self, (str)message) → None :

Send a message at debug priority:. Anything that may be useful to understand what the code has been doing for debugging purposes.

error((Logger)self, (str)message) → None :

Send a message at error priority: An error has occured but the framework is able to handle it and continue

fatal((Logger)self, (str)message) → None :

Send a message at fatal priority: An unrecoverable error has occured and the application will terminate

get((str)arg1) → Logger :

Creates the named logger. This method is static, call as Logger.get(‘logger_name’). The name is used as a prefix within the log file so that msg origins can be traced more easily.

information((Logger)self, (str)message) → None :

Send a message at information priority: Useful but not vital information to be relayed back to the user.

notice((Logger)self, (str)message) → None :

Sends a message at notice priority: Really important information that should be displayed to the user, this should be minimal. The default logging level is set here unless it is altered.

warning((Logger)self, (str)message) → None :

Send a message at warning priority: Something was wrong but the framework was able to continue despite the problem.