phprs\util\Logger::error PHP Method

error() public static method

error log
public static error ( string $msg ) : void
$msg string
return void
    public static function error($msg)
    {
        if (self::$flags & self::ERROR) {
            call_user_func(Logger::$writer, self::ERROR, $msg);
        }
    }