\AbstractLoggerCore

Summary

Methods
Properties
Constants
__construct()
log()
logDebug()
logInfo()
logWarning()
logError()
$level
DEBUG
INFO
WARNING
ERROR
logMessage()
$level_value
N/A
No private methods found
No private properties found
N/A

Constants

DEBUG

DEBUG

INFO

INFO

WARNING

WARNING

ERROR

ERROR

Properties

$level

$level : 

Type

$level_value

$level_value : 

Type

Methods

__construct()

__construct(  $level = self::INFO) 

Parameters

$level

log()

log(  $message,   $level = self::DEBUG) 

Check the level and log the message if needed

Parameters

$message
$level

logDebug()

logDebug(  $message) 

Log a debug message

Parameters

$message

logInfo()

logInfo(  $message) 

Log an info message

Parameters

$message

logWarning()

logWarning(  $message) 

Log a warning message

Parameters

$message

logError()

logError(  $message) 

Log an error message

Parameters

$message

logMessage()

logMessage(  $message,   $level) 

Log the message

Parameters

$message
$level