It is possible to add your own events to the event viewer. Simply call the following function when you want add an entry:
btev_trigger_error($error_string, $error_number, __FILE__, __LINE__);
or
btev_trigger_error($error_string, $error_number);
Argument Descriptions:
So an example would be:
btev_trigger_error('Login Successful: "' . $user_login . '"', E_USER_NOTICE);
or
btev_trigger_error('Login Successful: "' . $user_login . '"', E_USER_NOTICE, __FILE__, __LINE__);
NOTE: You should check to make sure that the plugin is active. The easiest way to do this is as follows:
if (function_exists('btev_trigger_error')) {
btev_trigger_error('Login Successful: "' . $user_login . '"', E_USER_NOTICE);
}




