51Degrees Pipeline Python  4.1

51Degrees Pipeline for Python
  • pipeline-python
  • fiftyone_pipeline_core
  • fiftyone_pipeline_core
  • logger
  • Logger

pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.logger.Logger Class Reference

Detailed Description

Logging for a Pipeline.

Inheritance diagram for pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.logger.Logger:

[legend]

Public Member Functions

def  __init__ (self, min_level="error", settings={})
Create a logger. More...
def  log (self, level, message)
Log a message. More...
def  log_internal (self, level, log)
Internal logging function overridden by specific loggers. More...

Public Attributes

 allowed_levels
 min_level
 settings

Constructor & Destructor Documentation

Member Function Documentation

◆ log()

def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.logger.Logger.log (   self,
  level,
  message  
)

Log a message.

@type level: string

Parameters
level - The level of log message

@type message: string

Parameters
message - The content of log message

◆ log_internal()

def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.logger.Logger.log_internal (   self,
  level,
  log  
)

Internal logging function overridden by specific loggers.

@type level: string

Parameters
level - The level of log message

@type log: dict

Parameters
log - The body of log entry

Reimplemented in pipeline-python.fiftyone_pipeline_core.tests.classes.memorylogger.MemoryLogger.