Uranium
Application Framework
Loading...
Searching...
No Matches
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

 __init__ (self)
 Create the log output.
 
 log (self, str log_type, str message)
 Log a message.
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
 __init__ (self)
 
 getPluginId (self)
 
 setPluginId (self, plugin_id)
 

Protected Attributes

 _name
 
- Protected Attributes inherited from UM.PluginObject.PluginObject
 _plugin_id
 

Detailed Description

Abstract base class for log output classes.

Constructor & Destructor Documentation

◆ __init__()

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()

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: