openGPMP
Open Source Mathematics Package
Public Member Functions | Properties | Static Private Attributes | List of all members
pygpmp.core.core.Logger Class Reference
Inheritance diagram for pygpmp.core.core.Logger:

Public Member Functions

def __init__ (self, level=INFO, useTimestamp=True)
 
def setLogLevel (self, level)
 
def enableTimestamps (self, enable)
 
def setLogDestination (self, destination)
 
def setLogFile (self, logFile)
 
def log (self, level, message)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Static Private Attributes

 __repr__ = _swig_repr
 
 __swig_destroy__ = _core.delete_Logger
 

Detailed Description

Definition at line 193 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

def pygpmp.core.core.Logger.__init__ (   self,
  level = INFO,
  useTimestamp = True 
)

Definition at line 197 of file core.py.

197  def __init__(self, level=INFO, useTimestamp=True):
198  _core.Logger_swiginit(self, _core.new_Logger(level, useTimestamp))

Member Function Documentation

◆ enableTimestamps()

def pygpmp.core.core.Logger.enableTimestamps (   self,
  enable 
)

Definition at line 204 of file core.py.

204  def enableTimestamps(self, enable):
205  return _core.Logger_enableTimestamps(self, enable)
206 

◆ log()

def pygpmp.core.core.Logger.log (   self,
  level,
  message 
)

Definition at line 213 of file core.py.

213  def log(self, level, message):
214  return _core.Logger_log(self, level, message)
215 
216 # Register Logger in _core:
217 _core.Logger_swigregister(Logger)

◆ setLogDestination()

def pygpmp.core.core.Logger.setLogDestination (   self,
  destination 
)

Definition at line 207 of file core.py.

207  def setLogDestination(self, destination):
208  return _core.Logger_setLogDestination(self, destination)
209 

◆ setLogFile()

def pygpmp.core.core.Logger.setLogFile (   self,
  logFile 
)

Definition at line 210 of file core.py.

210  def setLogFile(self, logFile):
211  return _core.Logger_setLogFile(self, logFile)
212 

◆ setLogLevel()

def pygpmp.core.core.Logger.setLogLevel (   self,
  level 
)

Definition at line 201 of file core.py.

201  def setLogLevel(self, level):
202  return _core.Logger_setLogLevel(self, level)
203 

Member Data Documentation

◆ __repr__

pygpmp.core.core.Logger.__repr__ = _swig_repr
staticprivate

Definition at line 195 of file core.py.

◆ __swig_destroy__

pygpmp.core.core.Logger.__swig_destroy__ = _core.delete_Logger
staticprivate

Definition at line 199 of file core.py.

Property Documentation

◆ thisown

pygpmp.core.core.Logger.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 194 of file core.py.


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