\r\n

51Degrees Pipeline PHP  4.4

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. More...
 log (string $level, string $message)
Log a message.
 logInternal (array $log)
Internal logging function overridden by specific loggers. More...

Data Fields

array  $settings

Constructor & Destructor Documentation

◆ __construct()

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

Create a logger.

Parameters
null | string
$level - Values: '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