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

Class: BasicLogger

Source Location: /logger/BasicLogger.php

Interface Overview


This is a minimalistic interface that any logging class must implement for Propel.


Author(s):

Version:

  • $Revision: 521 $

Methods



Class Details

[line 37]
This is a minimalistic interface that any logging class must implement for Propel.

The API for this interface is based on the PEAR::Log interface. It provides a simple API that can be used by Propel independently of Log backend.

PEAR::Log and perhaps the Log API was developed by Chuck Hagenbuch <chuck@horde.org> and Jon Parise <jon@php.net>.




Tags:

author:  Hans Lellelid <hans@xmpl.org>
version:  $Revision: 521 $


[ Top ]


Class Methods


method alert [line 45]

void alert( mixed $message)

A convenience function for logging an alert event.



Tags:

access:  public


Parameters:

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

[ Top ]

method crit [line 53]

void crit( mixed $message)

A convenience function for logging a critical event.



Tags:

access:  public


Parameters:

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

[ Top ]

method debug [line 91]

void debug( mixed $message)

A convenience function for logging a debug event.



Tags:

access:  public


Parameters:

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

[ Top ]

method err [line 61]

void err( mixed $message)

A convenience function for logging an error event.



Tags:

access:  public


Parameters:

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

[ Top ]

method info [line 83]

void info( mixed $message)

A convenience function for logging an critical event.



Tags:

access:  public


Parameters:

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

[ Top ]

method log [line 101]

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

Primary method to handle logging.



Tags:

access:  public


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 76]

void notice( mixed $message)

A convenience function for logging an critical event.



Tags:

access:  public


Parameters:

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

[ Top ]

method warning [line 69]

void warning( mixed $message)

A convenience function for logging a warning event.



Tags:

access:  public


Parameters:

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

[ Top ]


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