Changeset 2653
- Timestamp:
- 05/07/08 09:38:55 (4 months ago)
- Location:
- trunk/system
- Files:
-
- 2 modified
-
config/log.php (modified) (1 diff)
-
core/Log.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/config/log.php
r2156 r2653 13 13 /** 14 14 * Cascading message threshold. 15 * 15 * 16 16 * Log Thresholds: 17 17 * 0 - Disables logging completely 18 18 * 1 - Error Messages (including PHP errors) 19 * 2 - Debug Messages 20 * 3 - Informational Messages 19 * 2 - Application Alert Messages 20 * 3 - Application Informational Messages 21 * 4 - Debug Messages 21 22 */ 22 23 $config['threshold'] = 1; -
trunk/system/core/Log.php
r2593 r2653 2 2 /** 3 3 * Message file logging class. 4 * 4 * 5 5 * $Id$ 6 6 * … … 14 14 private static $log_directory; 15 15 16 private static $types = array(1 => 'error', 2 => ' debug', 3 => 'info');16 private static $types = array(1 => 'error', 2 => 'alert', 3 => 'info', 4 => 'debug'); 17 17 private static $messages = array(); 18 18
