51Degrees Pipeline for PHP

fiftyone\pipeline\core\Logger Class Reference

Detailed Description

Logging for a Pipeline.

Inheritance diagram for fiftyone\pipeline\core\Logger:

[legend]

Public Member Functions

 __construct (?string $level, array $settings=[])
 Create a logger.
 log (string $level, string $message)
 Log a message.
 logInternal (array $log)
 Internal logging function overridden by specific loggers.

Data Fields

array $settings

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\core\Logger::__construct ( ?string $level,
array $settings = [] )

Create a logger.

Parameters
null | string$levelValues: 'trace', 'debug', 'info', 'warning', 'error', 'critical'
array<string,mixed>$settings Custom settings for a logger

Member Function Documentation

◆ logInternal()

fiftyone\pipeline\core\Logger::logInternal ( array $log)

Internal logging function overridden by specific loggers.

Parameters
array<string,string>$log

Reimplemented in ArrayLogger.