LibreOffice Module scripting (master) 1
Public Member Functions | Public Attributes | List of all members
pythonscript.Logger Class Reference
Inheritance diagram for pythonscript.Logger:
[legend]
Collaboration diagram for pythonscript.Logger:
[legend]

Public Member Functions

def __init__ (self, target)
 
def isDebugLevel (self)
 
def debug (self, msg)
 
def isErrorLevel (self)
 
def error (self, msg)
 
def log (self, level, msg)
 

Public Attributes

 target
 

Additional Inherited Members

- Static Public Attributes inherited from pythonscript.LogLevel
int NONE = 0
 
int ERROR = 1
 
int DEBUG = 2
 

Detailed Description

Definition at line 84 of file pythonscript.py.

Constructor & Destructor Documentation

◆ __init__()

def pythonscript.Logger.__init__ (   self,
  target 
)

Definition at line 85 of file pythonscript.py.

Member Function Documentation

◆ debug()

def pythonscript.Logger.debug (   self,
  msg 
)

◆ error()

def pythonscript.Logger.error (   self,
  msg 
)

◆ isDebugLevel()

def pythonscript.Logger.isDebugLevel (   self)

Definition at line 88 of file pythonscript.py.

References pythonscript.LogLevel.DEBUG.

Referenced by pythonscript.Logger.debug().

◆ isErrorLevel()

def pythonscript.Logger.isErrorLevel (   self)

◆ log()

def pythonscript.Logger.log (   self,
  level,
  msg 
)

Member Data Documentation

◆ target

pythonscript.Logger.target

Definition at line 86 of file pythonscript.py.

Referenced by pythonscript.Logger.log().


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