Log.php

Show: inherited
Table of Contents

\Conjoon_Log

Package: Default

Author
Thorsten Suckow-Homberg  

Properties

Propertyprivateboolean  $_initCalled= 'false'
static

Default valuefalseDetails
Type
boolean
Propertyprivate\Zend_log  $_log= 'null'
static

Default valuenullDetails
Type
\Zend_log

Methods

methodprivate__clone( ) : void

methodprivate__construct( ) : void

methodpublicaddWriter( \Zend_Log_Writer_Abstract $writer ) : void
static

Add a writer. A writer is responsible for taking a log message and writing it out to storage.

Parameters
Name Type Description
$writer \Zend_Log_Writer_Abstract
methodpublicinit( Array $options ) : void
static

Inits this logger with the configuration provided from $options.

Parameters
Name Type Description
$options Array

An configuration array with the following properties: - enabled: 1/0 1 for enabled, otherwise 0 - writer: the type of write to use. Available writers: - firebug: to write directly to the firebug console

Throws
Exception Description
\Conjoon_Exception if init was already called, assuming this method may only be called once.
methodpubliclog( mixed $message, integer $priority ) : void
static

Log a message at a priority

Parameters
Name Type Description
$message mixed

Message to log

$priority integer

Priority of message

Throws
Exception Description
\Zend_Log_Exception
Documentation was generated by DocBlox 0.18.1.