Horde_ActiveSync_Log_Logger
extends Horde_Log_Logger
in package
Tags
Table of Contents
- CLIENT = 11
- META = 12
- SERVER = 10
- __call() : mixed
- Undefined method handler allows a shortcut: <pre> $log->levelName('message'); instead of $log->log('message', Horde_Log_LEVELNAME); </pre>
- __construct() : mixed
- Constructor.
- alert() : void
- client() : void
- crit() : void
- debug() : void
- emerg() : void
- err() : void
- info() : void
- meta() : void
- notice() : void
- server() : void
- warn() : void
Constants
CLIENT
public
mixed
CLIENT
= 11
META
public
mixed
META
= 12
SERVER
public
mixed
SERVER
= 10
Methods
__call()
Undefined method handler allows a shortcut: <pre> $log->levelName('message'); instead of $log->log('message', Horde_Log_LEVELNAME); </pre>
public
__call(string $method, string $params) : mixed
Parameters
- $method : string
-
Log level name.
- $params : string
-
Message to log.
Return values
mixed —__construct()
Constructor.
public
__construct([Horde_Log_Handler_Base|null $handler = null ]) : mixed
Parameters
- $handler : Horde_Log_Handler_Base|null = null
-
Default handler.
Return values
mixed —alert()
public
alert() : void
alert($event) Log an event at the ALERT log level
Return values
void —client()
public
client(string $event, int $indent) : void
Log an event as a CLIENT message, indented by specified number of spaces.
Parameters
- $event : string
- $indent : int
Return values
void —crit()
public
crit() : void
crit($event) Log an event at the CRIT log level
Return values
void —debug()
public
debug() : void
debug($event) Log an event at the DEBUG log level
Return values
void —emerg()
public
emerg() : void
emerg($event) Log an event at the EMERG log level
Return values
void —err()
public
err() : void
err($event) Log an event at the ERR log level
Return values
void —info()
public
info() : void
info($event) Log an event at the INFO log level
Return values
void —meta()
public
meta(mixed $event) : void
Log an event at the META log level.
Parameters
- $event : mixed
Return values
void —notice()
public
notice() : void
notice($event) Log an event at the NOTICE log level
Return values
void —server()
public
server(string $event, int $indent) : void
Log an event as a SERVER message, indented by specified number of spaces.
Parameters
- $event : string
- $indent : int
Return values
void —warn()
public
warn() : void
warn($event) Log an event at the WARN log level