Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Utilities_Logger Class Reference

Utilities.Logger Logger.hxx cadex/Utilities/Logger.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Utilities_Logger:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 SetLevel (self, theLevel)
 Sets message severity level.
 
 Level (self)
 Returns a message severity level.
 
 CanAccept (self, theLevel)
 Returns true if the logger accepts a message of the level theLevel.
 
 Register (self, *args)
 
 Unregister (self, theHandler)
 
 Instance (cls)
 

Detailed Description

Utilities.Logger Logger.hxx cadex/Utilities/Logger.hxx.

Provides a logger that accepts and dispatches logging messages

The logger is available via a singleton returned by Instance(). The message threshold level should be set with SetLevel(). Messages sent with lower level will be ignored.

Handlers must be registered/unregistered with Register()/Unregister(). The handlers process accepted messages in the order of their registration.

For details refer to Logging Support.


The documentation for this class was generated from the following file:
  • CadExMTK.py