Moodle  2.2.1
http://www.collinsharper.com
database_logger Class Reference
Inheritance diagram for database_logger:
Collaboration diagram for database_logger:

Public Member Functions

 __construct ($level, $datecol=false, $levelcol=false, $messagecol=null, $logtable=null, $columns=null)

Protected Member Functions

 action ($message, $level, $options=null)
 insert_log_record ($table, $columns)

Protected Attributes

 $datecol
 $levelcol
 $messagecol
 $logtable
 $columns

Detailed Description

Logger implementation that sends messages to database

TODO: Finish phpdocs

Definition at line 30 of file database_logger.class.php.


Constructor & Destructor Documentation

__construct ( level,
datecol = false,
levelcol = false,
messagecol = null,
logtable = null,
columns = null 
)

Definition at line 40 of file database_logger.class.php.


Member Function Documentation

action ( message,
level,
options = null 
) [protected]

Reimplemented from base_logger.

Definition at line 54 of file database_logger.class.php.

Here is the call graph for this function:

insert_log_record ( table,
columns 
) [protected]

Reimplemented in mock_database_logger.

Definition at line 66 of file database_logger.class.php.

Here is the caller graph for this function:


Field Documentation

$columns [protected]

Definition at line 36 of file database_logger.class.php.

$datecol [protected]

Definition at line 32 of file database_logger.class.php.

$levelcol [protected]

Definition at line 33 of file database_logger.class.php.

$logtable [protected]

Definition at line 35 of file database_logger.class.php.

$messagecol [protected]

Definition at line 34 of file database_logger.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations