Solar_Log_Adapter_None::save()
public
mixed
Solar_Log_Adapter_None::save
( string $class
, string $event
, string $descr
)
Saves (writes) an event and message to the log.
Inherited from Solar_Log_Adapter.
Parameters
(string)
$class
: The class name logging the event.(string)
$event
: The event type (typically 'debug', 'info', 'notice', 'severe', 'critical', etc).(string)
$descr
: A text description of the event.
Returns
(mixed) Boolean false if the event was not saved, or a non-empty value if the event was saved (typically boolean true).
Description
Saves (writes) an event and message to the log.
<?php
$log->save('class_name', 'info', 'informational message');
$log->save('class_name', 'critical', 'critical message');
$log->save('class_name', 'my special event type', 'describing the event');