Configuration

Configuration keys for the Solar_Log_Adapter_File class.

events

  • (string|array) The event types this instance should recognize; a comma-separated string of events, or a sequential array. Default is all events ('*').

  • Default: '*'

microtime

  • (bool) Use timestamps with decimal microseconds. Default false.

  • Default: false

file

  • (string) The file where events should be logged; for example '/www/username/logs/solar.log'.

  • Default: ''

format

  • (string) 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'.

  • Default: '%t %c %e %m'



Local