CI_Log Class Reference

List of all members.

Public Member Functions

 CI_Log ()
 write_log ($level= 'error', $msg, $php_error=FALSE)

Public Attributes

 $log_path
 $_threshold = 1
 $_date_fmt = 'Y-m-d H:i:s'
 $_enabled = TRUE
 $_levels = array('ERROR' => '1', 'DEBUG' => '2', 'INFO' => '3', 'ALL' => '4')


Member Function Documentation

CI_Log::CI_Log (  ) 

Constructor

public

CI_Log::write_log ( level = 'error',
msg,
php_error = FALSE 
)

Write Log File

Generally this function will be called using the global log_message() function

public

Parameters:
string the error level
string the error message
bool whether the error is a native PHP error
Returns:
bool


Member Data Documentation

CI_Log::$_date_fmt = 'Y-m-d H:i:s'

CI_Log::$_enabled = TRUE

CI_Log::$_levels = array('ERROR' => '1', 'DEBUG' => '2', 'INFO' => '3', 'ALL' => '4')

CI_Log::$_threshold = 1

CI_Log::$log_path


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

Generated on Sun Nov 16 16:09:16 2008 for CodeIgniter by  doxygen 1.5.7.1