Logger

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

class mantid.kernel.Logger((object)arg1, (str)name)
__init__((object)arg1, (str)name) → None
debug((Logger)arg1, (str)arg2) → 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)arg1, (str)arg2) → None :

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

fatal((Logger)arg1, (str)arg2) → 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)arg1, (str)arg2) → None :

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

notice((Logger)arg1, (str)arg2) → 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)arg1, (str)arg2) → None :

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