phpDocumentor

InternetMarkeLogger
in package

central logging class for InternetMarke.

Uses LogControl where available, falls back to FileLog otherwise

Table of Contents

LOG_FILE  = 'shipping.internetmarke'
Log file name
LOG_FILE_DEBUG  = 'shipping.internetmarke-debug'
Debug log file name
LOG_GROUP  = 'shipping'
LogControl group
$configuration  : mixed
ShipcloudConfigurationStorage instance
$fileLog  : mixed
FileLog instance
$logControl  : mixed
LogControl instance
__construct()  : mixed
constructor; initializes logging mechanism (LogControl/FileLog) and configuration
debug_notice()  : mixed
logs a debug message.
error()  : mixed
logs an error message
notice()  : mixed
logs a notice message
warning()  : mixed
logs a warning message

Constants

Properties

Methods

__construct()

constructor; initializes logging mechanism (LogControl/FileLog) and configuration

public __construct() : mixed
Return values
mixed

debug_notice()

logs a debug message.

public debug_notice(string $message) : mixed

Debug messages are used for extended logging; this will log all API traffic

Parameters
$message : string

message to be logged

Return values
mixed

error()

logs an error message

public error(string $message) : mixed
Parameters
$message : string

message to be logged

Return values
mixed

notice()

logs a notice message

public notice(string $message) : mixed
Parameters
$message : string

message to be logged

Return values
mixed

warning()

logs a warning message

public warning(string $message) : mixed
Parameters
$message : string

message to be logged

Return values
mixed

Search results