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 (self, str log_type, str message)
 Log a message. More...
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
str getPluginId (self)
 
None setPluginId (self, str plugin_id)
 
None setVersion (self, str version)
 
str getVersion (self)
 

Detailed Description

Abstract base class for log output classes.

Constructor & Destructor Documentation

◆ __init__()

def UM.Logger.LogOutput.__init__ (   self)

Create the log output.

This is called during the plug-in loading stage.

Reimplemented from UM.PluginObject.PluginObject.

Member Function Documentation

◆ log()

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

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: