SAFplus Runtime Director API
3.0.5
|
Internal (use Hierarchial Log). More...
Public Member Functions | |
def | __init__ |
def | Log |
Output a message to the openclovis system log and to stderr (if uncommented) More... | |
def | __str__ |
Public Attributes | |
log | |
indent | |
Internal (use Hierarchial Log).
A logging system that allows logs to be organised in a hierarchial fashion.
def aspLog.SubLog.__init__ | ( | self, | |
indent = 0 |
|||
) |
def aspLog.SubLog.__str__ | ( | self | ) |
def aspLog.SubLog.Log | ( | self, | |
s, | |||
loglvl = None , |
|||
logunwind = 1 |
|||
) |
Output a message to the openclovis system log and to stderr (if uncommented)
s | The log message. Do not terminate |
loglvl | Optional log level (on of asp.CL_LOG_SEV_xxx values). If not passed, the "info" level is used. |
logunwind | Optional stack location of the original log producer. Useful if you wrap this Log function (1 is you, 2 is your parent, etc) |
aspLog.SubLog.indent |
aspLog.SubLog.log |