MECO™ API Reference
Public Member Functions | List of all members
mMeco.core.loggerLib.Log Class Reference

[ CLASS ] - Log. More...

Inheritance diagram for mMeco.core.loggerLib.Log:
mMeco.core.loggerLib.LogType

Public Member Functions

def __init__ (self, message, logType=LogType.kInfo)
 Constructor. More...
 
def __str__ (self)
 String representation. More...
 
def asStr (self)
 Get string representation of the class. More...
 
def logType (self)
 Property. More...
 
def message (self)
 Property. More...
 
def fullMessage (self)
 Property. More...
 

Additional Inherited Members

- Static Public Attributes inherited from mMeco.core.loggerLib.LogType
string kInfo = 'INFO'
 [ enum ] - Info.
 
string kSuccess = 'SUCCESS'
 [ enum ] - Success.
 
string kWarning = 'WARNING'
 [ enum ] - Warning.
 
string kFailure = 'FAILURE'
 [ enum ] - Failure.
 

Detailed Description

[ CLASS ] - Log.

Constructor & Destructor Documentation

◆ __init__()

def mMeco.core.loggerLib.Log.__init__ (   self,
  message,
  logType = LogType.kInfo 
)

Constructor.

Parameters
message[ str | None | in ] - Message.
logType[ enum | mMeco.core.loggerLib.LogType.kInfo | in ] - Log type from mMeco.core.loggerLib.LogType enum class.
Exceptions
N/A
Returns
None - None.

Member Function Documentation

◆ __str__()

def mMeco.core.loggerLib.Log.__str__ (   self)

String representation.

Exceptions
N/A
Returns
str - String representation.

◆ asStr()

def mMeco.core.loggerLib.Log.asStr (   self)

Get string representation of the class.

Exceptions
N/A
Returns
str - Information about the package in human readable form.

◆ logType()

def mMeco.core.loggerLib.Log.logType (   self)

Property.

Exceptions
N/A
Returns
enum - Value.

◆ message()

def mMeco.core.loggerLib.Log.message (   self)

Property.

Exceptions
N/A
Returns
str - Value.

◆ fullMessage()

def mMeco.core.loggerLib.Log.fullMessage (   self)

Property.

Exceptions
N/A
Returns
str - Value.

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