\r\n

51Degrees Pipeline PHP  4.1Newer Version 4.4

51Degrees Pipeline for PHP

fiftyone\pipeline\core\Logger Class Reference

Detailed Description

Logging for a Pipeline.

Examples
Pipeline.php.

Inheritance diagram for fiftyone\pipeline\core\Logger:

[legend]

Public Member Functions

 __construct ($level, $settings=array())
Create a logger. More...
 log ($level, $message)
Log a message. More...
 logInternal ($log)
Internal logging function overriden by specific loggers. More...

Data Fields

 $settings

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\core\Logger::__construct (   $level,
  $settings = array()  
)

Create a logger.

Parameters
string - level ("trace", "debug", "information", "warning", "error", "critical")
array - settings - customs settings for a logger

Member Function Documentation

◆ log()

fiftyone\pipeline\core\Logger::log (   $level,
  $message  
)

Log a message.

Parameters
string - message level
string - message
Examples
Pipeline.php.

◆ logInternal()

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

Internal logging function overriden by specific loggers.

Parameters
array - log