Uranium
Application Framework
UM.Logger.LogOutput Class Reference

Abstract base class for log output classes. More...

Inheritance diagram for UM.Logger.LogOutput:
UM.PluginObject.PluginObject

Public Member Functions

def __init__ (self)
 Create the log output. More...
 
def log
 Log a message. More...
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
def __init__ (self, args, kwags)
 
def getId (self)
 
def setPluginId
 
def setMetaData
 
def getMetaData (self)
 
def getPluginId (self)
 
def setVersion
 
def getVersion (self)
 

Detailed Description

Abstract base class for log output classes.

Constructor & Destructor Documentation

def UM.Logger.LogOutput.__init__ (   self,
  None 
)

Create the log output.

This is called during the plug-in loading stage.

Member Function Documentation

def UM.Logger.LogOutput.log (   self,
  log_type 
)

Log a message.

The possible message types are:

  • "d", debug
  • "i", info
  • "w", warning
  • "e", error
  • "c", critical
Parameters
log_typestring A value describing the type of message.
messagestring The message to log.
Exceptions
NotImplementedError

The documentation for this class was generated from the following file: