error log ID settings added via global define
A global define for LOG_FILE_ID before any class is initialized (or any place later allowed too) will add a sub id to the error_msg log file before any other (level, class, etc) id. This can be used to easily split between frontend and backend logs or logs for a certain page without using pagename (eg to group all ajax logs into one)
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
_spl_autoload('Class.'.$class.'.inc');
|
||||
|
||||
$lang = 'en_utf8';
|
||||
|
||||
|
||||
DEFINE('LOG_FILE_ID', 'classTest');
|
||||
$login = new login($DB_CONFIG[LOGIN_DB], $lang);
|
||||
// init with standard
|
||||
// $basic = new db_io($DB_CONFIG[MAIN_DB]);
|
||||
|
||||
Reference in New Issue
Block a user