|
Moodle
2.2.1
http://www.collinsharper.com
|


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 | |
Logger implementation that sends messages to database
TODO: Finish phpdocs
Definition at line 30 of file database_logger.class.php.
| __construct | ( | $ | level, |
| $ | datecol = false, |
||
| $ | levelcol = false, |
||
| $ | messagecol = null, |
||
| $ | logtable = null, |
||
| $ | columns = null |
||
| ) |
Definition at line 40 of file database_logger.class.php.
| action | ( | $ | message, |
| $ | level, | ||
| $ | options = null |
||
| ) | [protected] |
Reimplemented from base_logger.
Definition at line 54 of file database_logger.class.php.

| insert_log_record | ( | $ | table, |
| $ | columns | ||
| ) | [protected] |
Reimplemented in mock_database_logger.
Definition at line 66 of file database_logger.class.php.

$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.