src/MvlabsLumber/Service/Logger.php
public function log($s_message, $s_level = 'notice', array $am_context = array()) {

    	if (!$this->isValidSeverityLevel($s_level)) {
    		throw new \OutOfRangeException('Severity level ' . $s_level . ' is invalid and can not be used');
    	}

    	foreach ($this->aI_channels as $s_channelName => $I_channel) {
    	    $I_channel->addRecord(self::$as_monologLevels[$s_level], $s_message, $am_context);
    	}

    }
public function log($s_message, $s_level = 'notice', array $am_context = array()) {

    	if (!$this->isValidSeverityLevel($s_level)) {
    		throw new \OutOfRangeException('Severity level ' . $s_level . ' is invalid and can not be used');
    	}

    	foreach ($this->aI_channels as $s_channelName => $I_channel) {
    	    $I_channel->addRecord(self::$as_monologLevels[$s_level], $s_message, $am_context);
    	}

    }
public function log ( $ s_message , $ s_level = 'notice' , array $ am_context = array ( ) ) { if ( ! $ this -> isValidSeverityLevel ( $ s_level ) ) { throw new \ OutOfRangeException ( 'Severity level ' . $ s_level . ' is invalid and can not be used' ) ; } foreach ( $ this -> aI_channels as $ s_channelName => $ I_channel ) { $ I_channel -> addRecord ( self :: $ as_monologLevels [ $ s_level ] , $ s_message , $ am_context ) ; } }
Logs with severity level to all registered channels

@param string $s_message Main message content
@param mixed $s_level Message severity level. Default is null, which will result in info, as commonly found in logger implementations
@param array $am_context Message context - IE Additional information
@return null
Logs with severity level to all registered channels