Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Logger.LogOutput Class Reference
Inheritance diagram for UM.Logger.LogOutput:
UM.PluginObject.PluginObject

Public Member Functions

None __init__ (self)
 
None log (self, str log_type, str message)
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
None __init__ (self, *args, **kwags)
 
str getId (self)
 
None setPluginId (self, str plugin_id)
 
None setMetaData (self, Dict[str, Any] metadata)
 
Dict[str, Any] getMetaData (self)
 
str getPluginId (self)
 
None setVersion (self, str version)
 
str getVersion (self)
 

Additional Inherited Members

- Protected Attributes inherited from UM.PluginObject.PluginObject
 _plugin_id = None
 
 _version = None
 
dict _metadata = {}
 
 _name = None
 

Detailed Description

Abstract base class for log output classes.

Constructor & Destructor Documentation

◆ __init__()

None UM.Logger.LogOutput.__init__ ( self)
Create the log output.

This is called during the plug-in loading stage.

Member Function Documentation

◆ log()

None 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

:param log_type: A value describing the type of message.
:param message: The message to log.
:exception NotImplementedError:

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