Solar_Log_Adapter_File::_save()

protected mixed Solar_Log_Adapter_File::_save ( string $class , string $event , string $descr )

Support method to save (write) an event and message to the log.

Parameters

  • (string) $class: The class name reporting the event.

  • (string) $event: The event type (for example 'info' or 'debug').

  • (string) $descr: A description of the event.

Returns

  • (mixed) Boolean false if the event was not saved (usually because it was not recognized), or a non-empty value if it was saved.

Description

Support method to save (write) an event and message to the log.

Appends to the file, and uses an exclusive lock (LOCK_EX).



Local