(non-PHPdoc)
@see PAGI\Client.IClient::log()
778983
public function consoleLog($msg, $level = 1)
    {
        $msg = str_replace("\r", '', $msg);
        $msg = explode("\n", $msg);
        foreach ($msg as $line) {
            if (strlen($line) < 1) {
                continue;
            }
            $this->send(
                'VERBOSE "' . str_replace('"', '\\"', $line) . '" ' . $level
            );
        }
    }
1234610
private function log($message)
    {
        if (!is_null($this->logger)) {
            $this->logger->log(
                LogLevel::DEBUG,
                sprintf("[%s] - %s", date('Y-m-d H:i:s'), $message)
            );
        }
    }
469544
public function logNotification()
    {
        try {
            $this->logNotificationContents();
            $this->ipnLogFile->writeLine("=============================================================================");
            $this->ipnLogFile->closeFile();
        } catch (Exception $ex){
            error_log($ex->getMessage());
        } 
    }
379858
public function log($message)
    {

        if (!empty($this->log_file)) {
            //echo $message;
            \file_put_contents($this->log_file, "\n" . $message, \FILE_APPEND);
        }
    }
1157139
protected function log($message)
    {

        if ($this->debug == true) {
            file_put_contents("php://stdout", $message . "\n");
        }

        file_put_contents($this->dump_dir . 'dump.log', $message . "\n", \FILE_APPEND);
    }
541466
public function log(): void
    {
        if (file_exists(FLOW_PATH_DATA . 'Logs/Elasticsearch') && is_dir(FLOW_PATH_DATA . 'Logs/Elasticsearch') && is_writable(FLOW_PATH_DATA . 'Logs/Elasticsearch')) {
            file_put_contents($this->filename, $this->renderErrors());
            $this->logger->log($this->message, LOG_ERR, [], 'Flowpack.ElasticSearch.ContentRepositoryAdaptor', __CLASS__, __FUNCTION__);
        } else {
            $this->logger->log(sprintf('Could not write indexing errors backtrace into %s because the directory could not be created or is not writable.', FLOW_PATH_DATA . 'Logs/Elasticsearch/'), LOG_WARNING, [], 'Flowpack.ElasticSearch.ContentRepositoryAdaptor', __CLASS__, __FUNCTION__);
        }
    }
441040
public function _log($message)
    {
        ee()->load->library('logger');
        ee()->load->library('user_agent');

        ee()->logger->developer($this->package.' - '.$message);
    }
529483
static function log( $logline, $out = '' ) {
		// Output log line, no error checking to save performance
		// Send to descriptor or other stream if resource passed
		if( is_resource($out) && fwrite( $out, "$logline\n" ) ){
			return true;
		}
		// Log to specified file
		else if( $out && error_log( "$logline\n", 3, $out ) ){
			return $out;
		}
		// else default - probably apache error log
		else if( error_log( $logline, 0 ) ){
			$out = ini_get('error_log');
			return $out ? $out : true;
		}
		else {
			return false;
		}
	}
1351155
public function log($level, $message, array $context = []) : void
    {
        $prefix = '';

        if ($this->timestamps) {
            $prefix .= '[' . date(self::TIMESTAMP_FORMAT) . '] ';
        }

        $prefix .= $this->channel . '.' . strtoupper((string) $level) . ': ';

        echo $prefix . $message . PHP_EOL;
    }
1294278
public function log($log, $opt) {
		if (isset ( $opt [self::IMPORT_BCS_LOG_METHOD] ) && function_exists ( $opt [self::IMPORT_BCS_LOG_METHOD] )) {
			$opt [self::IMPORT_BCS_LOG_METHOD] ( $log );
		} else {
			trigger_error ( $log );
		}
	}
1280155
private function log($msg, array $context = array())
    {
        /** @var \Psr\Log\LoggerInterface $logger */
        $logger = $this->container['logger'];
        $logger->log($this->container['log_level'], $msg, $context);
    }
344371
protected function logHttp(Client $client, OutputInterface $output)
    {
        $guzzle = $client->getHttpClient();
        if (OutputInterface::VERBOSITY_DEBUG <= $output->getVerbosity()) {
            $logger = function ($message) use ($output) {
                $finfo = new \finfo(FILEINFO_MIME);
                $msg = ('text' == substr($finfo->buffer($message), 0, 4)) ? $message : '(binary string)';
                $output->writeln('<info>Guzzle</info> ' . $msg);
            };
            $logAdapter = new ClosureLogAdapter($logger);
            $logPlugin = new LogPlugin($logAdapter, MessageFormatter::DEBUG_FORMAT);
            $guzzle->addSubscriber($logPlugin);
        }
    }
563110
public function log( $message )
	{
		if ( ! $this->enableLogging ) return;
		if ( ! isset( $this->log ) ) $this->log = \lyquidity\XPath2\lyquidity\Log::getInstance();
		$this->log->info( $message );
	}
823770
public function log(MethodInvocation $invocation)
    {
        /**
         * @var $request ServerRequestInterface
         * @var $response ResponseInterface
         */
        $request = $invocation->getArguments()[0];
        $response = $invocation->getArguments()[1];
        try {
            $response = $invocation->proceed();
        } catch (\Exception $ex) {
            $this->logger->critical($ex->getMessage(), $ex->getTrace());
            throw $ex;
        }

        return $response;
    }
397805
public function log($message)
    {
        if (null !== $this->logger) {
            $logger = $this->logger;
            $logger($message);
        }
    }
762151
public static function log($msg)
    {
        if (!self::$_enabled) {
            return;
        }

        if (is_null(self::$_file)) {
            echo "log: $msg\n";
            return;
        }

        return self::_logToFile($msg);
    }
353388
function log() {
	var msg = util.format.apply(null, Array.prototype.slice.call(arguments, 0));
	write(msg);
}