Documentation

Horde_Core_Factory_Logger extends Horde_Core_Factory_Injector
in package

The abstract Horde injector class.

Tags
category

Horde

Table of Contents

Properties

$error  : Horde_Log_Exception
Stores the exception if the logger could not be started.
$_injector  : Horde_Injector
The injector.
$_queue  : array<string|int, mixed>
Log queue.

Methods

__construct()  : mixed
Constructor.
available()  : bool
Is the logger available?
create()  : mixed
processQueue()  : mixed
Process the log queue.
queue()  : mixed
Queue log entries to output once the framework is initialized.
_getDriverName()  : string
Return the classname of the driver to load.

Properties

$error

Stores the exception if the logger could not be started.

public Horde_Log_Exception $error

$_injector

The injector.

protected Horde_Injector $_injector

$_queue

Log queue.

protected static array<string|int, mixed> $_queue

Methods

__construct()

Constructor.

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

The injector to use.

available()

Is the logger available?

public static available() : bool
Return values
bool

True if logging is available.

create()

public create(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

processQueue()

Process the log queue.

public static processQueue([mixed $logger = null ]) : mixed
Parameters
$logger : mixed = null

_getDriverName()

Return the classname of the driver to load.

protected _getDriverName(string $driver, string $base) : string
Parameters
$driver : string

Driver name.

$base : string

The base classname.

Tags
throws
Horde_Exception
Return values
string

Classname.


        
On this page

Search results