src/Koldy/Log.php
public static function error(...$messages): void
    {
        static::init();

        if (!static::isTemporaryDisabled('error')) {
            foreach (static::$adapters as $adapter) {
                /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */
                if ($adapter->isLevelEnabled(self::ERROR)) {
                    $adapter->error((new Message(self::ERROR))->setMessages($messages));
                }
            }
        }
    }
public static function error(...$messages): void
    {
        static::init();

        if (!static::isTemporaryDisabled('error')) {
            foreach (static::$adapters as $adapter) {
                /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */
                if ($adapter->isLevelEnabled(self::ERROR)) {
                    $adapter->error((new Message(self::ERROR))->setMessages($messages));
                }
            }
        }
    }
public static function error ( ... $ messages ) : void { static :: init ( ) ; if ( ! static :: isTemporaryDisabled ( 'error' ) ) { foreach ( static :: $ adapters as $ adapter ) { /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */ if ( $ adapter -> isLevelEnabled ( self :: ERROR ) ) { $ adapter -> error ( ( new Message ( self :: ERROR ) ) -> setMessages ( $ messages ) ) ; } } } }
Write ERROR message to log

@param array|string ...$messages

@link http://koldy.net/docs/log#usage
Write ERROR message to log