\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

tests.classes.memorylogger.MemoryLogger Class Reference

Inheritance diagram for tests.classes.memorylogger.MemoryLogger:

[legend]

Collaboration diagram for tests.classes.memorylogger.MemoryLogger:

[legend]

Public Member Functions

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

Public Member Functions inherited from fiftyone_pipeline_core.logger.Logger

def  log (self, level, message)
Log a message. More...

Public Attributes

Public Attributes inherited from fiftyone_pipeline_core.logger.Logger

 allowed_levels
 min_level
 settings

Constructor & Destructor Documentation

◆ __init__()

def tests.classes.memorylogger.MemoryLogger.__init__ (   self,
  min_level = "error",
  settings = {}  
)

Create a logger.

@type minLevel: str|list

Parameters
minLevel - Logging level ("debug", "info", "warning", "error", "critical")

Reimplemented from fiftyone_pipeline_core.logger.Logger.

Member Function Documentation

◆ log_internal()

def tests.classes.memorylogger.MemoryLogger.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 from fiftyone_pipeline_core.logger.Logger.

Member Data Documentation

◆ memory_log

tests.classes.memorylogger.MemoryLogger.memory_log
On This Page