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

        foreach (static::$adapters as $adapter) {
            /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */
            if ($adapter->isLevelEnabled($message->getLevel())) {
                $adapter->logMessage($message);
            }
        }
    }
public static function message(Message $message): void
    {
        static::init();

        foreach (static::$adapters as $adapter) {
            /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */
            if ($adapter->isLevelEnabled($message->getLevel())) {
                $adapter->logMessage($message);
            }
        }
    }
public static function message ( Message $ message ) : void { static :: init ( ) ; foreach ( static :: $ adapters as $ adapter ) { /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */ if ( $ adapter -> isLevelEnabled ( $ message -> getLevel ( ) ) ) { $ adapter -> logMessage ( $ message ) ; } } }
Log message with prepared Log\Message instance

@param Message $message
Log message with prepared Log \ Message instance