propel-logger
[ class tree: propel-logger ] [ index: propel-logger ] [ all elements ]

Class: MojaviLogAdapter

Source Location: /logger/MojaviLogAdapter.php

Class Overview


Mojavi logging adapter for propel


Author(s):

Version:

  • $Revision: 521 $

Implements interfaces:

Methods



Class Details

[line 29]
Mojavi logging adapter for propel



Tags:

author:  Brandon Keepers <brandon@opensoul.org>
version:  $Revision: 521 $


[ Top ]


Class Methods


constructor __construct [line 42]

MojaviLogAdapter __construct( [ErrorLog $logger = null])

constructor for setting up Mojavi log adapter



Tags:

access:  public


Parameters:

ErrorLog   $logger   instance of Mojavi error log obtained by calling LogManager::getLogger();

[ Top ]

method alert [line 53]

void alert( mixed $message)

A convenience function for logging an alert event.



Tags:

access:  public



Implementation of:
BasicLogger::alert()
A convenience function for logging an alert event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method crit [line 64]

void crit( mixed $message)

A convenience function for logging a critical event.



Tags:

access:  public



Implementation of:
BasicLogger::crit()
A convenience function for logging a critical event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method debug [line 119]

void debug( mixed $message)

A convenience function for logging a debug event.



Tags:

access:  public



Implementation of:
BasicLogger::debug()
A convenience function for logging a debug event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method err [line 75]

void err( mixed $message)

A convenience function for logging an error event.



Tags:

access:  public



Implementation of:
BasicLogger::err()
A convenience function for logging an error event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method info [line 108]

void info( mixed $message)

A convenience function for logging an critical event.



Tags:

access:  public



Implementation of:
BasicLogger::info()
A convenience function for logging an critical event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method log [line 132]

void log( mixed $message, [int $severity = null])

Primary method to handle logging.



Tags:

access:  public



Implementation of:
BasicLogger::log()
Primary method to handle logging.

Parameters:

mixed   $message   String or Exception object containing the message to log.
int   $severity   The numeric severity. Defaults to null so that no assumptions are made about the logging backend.

[ Top ]

method notice [line 98]

void notice( mixed $message)

A convenience function for logging an critical event.



Tags:

access:  public



Implementation of:
BasicLogger::notice()
A convenience function for logging an critical event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]

method warning [line 86]

void warning( mixed $message)

A convenience function for logging a warning event.



Tags:

access:  public



Implementation of:
BasicLogger::warning()
A convenience function for logging a warning event.

Parameters:

mixed   $message   String or Exception object containing the message to log.

[ Top ]


Documentation generated on Thu, 22 Nov 2007 03:33:45 +0000 by phpDocumentor 1.4.0