Writes a message to one or more log adapters, where the adapters that are written to are the
ones that respond to the given priority level.
public static write ( string $priority, string $message, array $options = [] ) : boolean | ||
$priority | string | The priority of the log message to be written. |
$message | string | The message to be written. |
$options | array | An array of adapter-specific options that may be passed when writing log messages. Some options are also handled by `Logger` itself: - `'name'` _string_: This option can be specified if you wish to write to a specific adapter configuration, instead of writing to the adapter(s) that respond to the given priority. |
return | boolean | Returns `true` if all log writes succeeded, or `false` if _any or all_ writes failed. |