public static __callStatic ( string $priority, array $params ) : boolean | ||
$priority | string | The name of the method called on the `Logger` class. This should map to a log type. |
$params | array | An array of parameters passed in the method. |
return | boolean | Returns `true` or `false`, depending on the success of the `write()` method. |
public static function __callStatic($priority, $params)
{
$params += array(null, array());
return static::write($priority, $params[0], $params[1]);
}