Log adapter for appending to a file.
This class is part of the Solar_Log package.
events: The event types this instance should recognize; a comma-separated string of events, or a sequential array. Default is all events ('*').
microtime: Use timestamps with decimal microseconds. Default false.
file: The file where events should be logged; for example '/www/username/logs/solar.log'.
format: The line format for each saved event. Use '%t' for the timestamp, '%c' for the class name, '%e' for the event type, '%m' for the event description, and '%%' for a literal percent. Default is '%t %c %e %m'.
The Solar_Log_Adapter_File class has no public properties; try the list of all properties.
These are all the public methods in the Solar_Log_Adapter_File class.
You can also view the list of all public, protected, and private methods.
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
Gets the list of events this adapter recognizes.
Looks up class-specific locale strings based on a key.
Saves (writes) an event and message to the log.
Sets the list of events this adapter recognizes.