spunQ_LogTarget Class Reference

An object that performs the actual logging. More...

Inheritance diagram for spunQ_LogTarget:

spunQ_ILogTarget spunQ_ConsoleLogTarget spunQ_NullLogTarget spunQ_PhpErrorLogTarget spunQ_SyslogLogTarget

List of all members.

Public Member Functions

 logMessage ($path, $priority, $message, $file, $line)
 This function will be called by the logging facility.

Static Public Member Functions

static convertObjectToString ($object, $indent=0, $visited=array(), $verbose=true)
 Converts an object to a string value.


Detailed Description

An object that performs the actual logging.

Definition at line 6 of file LogTarget.class.php.


Member Function Documentation

static spunQ_LogTarget::convertObjectToString ( object,
indent = 0,
visited = array(),
verbose = true 
) [static]

Converts an object to a string value.

Parameters:
$object The object to convert.
$indent Indentation level of the hierarchy
$visited array of processed objects. Tracked to detect recursion.
Returns:
string

Definition at line 15 of file LogTarget.class.php.

spunQ_ILogTarget::logMessage ( path,
priority,
message,
file,
line 
) [inherited]

This function will be called by the logging facility.

A logger rule matched a logging event that was triggered and this log target was provided to the rule.

See also:
spunQ_Logger
Parameters:
$path The source of the log event.
$priority The priority with which the Logger was invoked.
$message The message of the log event.
$file The path to the file where the event actually occured.
$line The line within the file where the log event was triggered
Returns:
spunQ_ILogTarget $this

Implemented in spunQ_HtmlPopupLogTarget, spunQ_CachedLogger, spunQ_ConsoleLogTarget, spunQ_FileLogTarget, spunQ_NullLogTarget, spunQ_PhpErrorLogTarget, and spunQ_SyslogLogTarget.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:42 2011 for spunQ3 by  doxygen 1.5.9