Add info log

@param mixed $info log message

@return Log
540607
public function addInfoLog($info)
    {
        if ($this->configHelper->isDebugModeOn()) {
            $this->boltLogger->info($info);
        }
        return $this;
    }
67090
public function info($message)
    {
        $args = func_get_args();
        array_shift($args);
        return $this->log(Log::Info, $message, $args);
    }
1090626
protected function createContent(Infoset $info) {
		foreach ($this->errors as $error) {
			if (isset(self::$errorTypes[$error['type']])) {
				$type = self::$errorTypes[$error['type']];
			} else {
				$type = 'Uncnown';
			}

			$info[] = sprintf($this->errorTemplate, $type, $error['message'], $error['file'], $error['line']);
		}
	}
438527
static function set_info($info)
    {
        if (!isset($info['proto']) && $info['uri'] !='/vendor/boolive/basic/object'){
            $info['proto'] = '/vendor/boolive/basic/object';
        }
        if (isset($info['properties'])){
            foreach ($info['properties'] as $name => $child){
                if (is_scalar($child) || is_null($child)){
                    $child = ['value' => $child];
                    if (isset($info['proto'])) $child['proto'] = $info['proto'].'/'.$name;
                }
                $child['name'] = $name;
                $child['is_property'] = true;
                if (!empty($child['value'])) $child['is_default_value'] = false;
                if (!empty($child['file'])) $child['is_default_file'] = false;
                if (!isset($child['is_default_logic'])) $child['is_default_logic'] = true;
                if (!isset($child['created']) && isset($info['created'])) $child['created'] = $info['created'];
                if (!isset($child['updated']) && isset($info['updated'])) $child['updated'] = $info['updated'];
                $child['is_exists'] = $info['is_exists'];
                $child['uri'] = $info['uri'].'/'.$name;
                self::$list_props[$info['uri']][$name] = $child['uri'];
                self::set_info($child);
            }
            unset($info['properties']);
        }
        self::$list_info[$info['uri']] = $info;
        return $info;
    }
682380
function callInsertTOC( $info )
    {
        $params = explode( ',', $info['p'] );

        $label = $params[0];
        $level = $params[1];

        $tocCount = count( $this->TOC );
        $this->TOC[] = array( 'label' => $this->fixWhitespace( rawurldecode( $label ) ),
                              'localPageNumber' => $this->ezWhatPageNumber( $this->ezGetCurrentPageNumber() ),
                              'level' => $level,
                              'pageNumber' => $this->ezGetCurrentPageNumber() );
        $this->addDestination( 'toc'. $tocCount,
                               'FitH',
                               $this->yOffset() + $this->getFontHeight( $this->fontSize() ) );
    }
767552
public function addErrorHr($log = LOG_SYSTEM) {
        if (Config::config()['user']['debug']['log']) {
            file_put_contents(APP_LOG_PATH . $log . '.log', "#################### END OF EXECUTION OF http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . " ####################\n", FILE_APPEND | LOCK_EX);
        }
    }
1132537
public function addLog($key, $message)
    {
        if (!is_string($message)) {
            throw new \InvalidArgumentException(sprintf(
                '[%s]: "message" must be type of string, %s given.',
                __METHOD__,
                gettype($message)
            ));
        }

        if (!isset($this->logs[$key])) {
            $this->logs[$key] = [];
        }

        $this->logs[$key][] = $message;

        return $this;
    }
163434
public function addMessage($message) {
        $this->message = trim(trim($this->message).NL.$message);
        return $this;
    }
961822
public function log($entry, $level = LOG_LEVEL_INFO)
    {
        if (!is_array($entry)) {
            $entry = array('comment' => $entry, 'level' => $level);
        }

        $this->_log->addEntry($entry);

        return $this;
    }
922619
protected function createContent(Infoset $info) {
		$profiler = $this->getProfiler();
		
		// Info
		if ($profiler instanceof ProfilerExtendedInterface
		&&  $profiler->hasAdditionalInfo()) {
			$profilerInfo = $profiler->getAdditionalInfo();
			
			if (isset($profilerInfo['__TOPOLOGY__'])
			&&  $profilerInfo['__TOPOLOGY__'] instanceof Descriptor) {
				$topology = $profilerInfo['__TOPOLOGY__'];
				unset($profilerInfo['__TOPOLOGY__']);
			}
			
			if (! empty($profilerInfo)) {
				$this->additionalInfo($info, $profilerInfo);
			}
		}
		
		if ($profiler->getTotalEvents() === 0 && ! $profiler->hasAdditionalInfo()) {
			return;
		}
		
		// Events
		if ($profiler->hasProfiles()) {
			$this->eventsInfo($info, $profiler->getProfiles());
		}
		
		// Topology
		if (isset($topology)) {
			$this->topologyInfo($info, $topology);
		}
	}
695606
public function addLog($data)
    {
        /* @var \Phalcon\Http\Request */
        $request = Di::getDefault()->getRequest();

        if (empty($data['ip_address'])) {
            $data['ip_address'] = $request->getClientAddress();
        }

        if (empty($data['user_agent'])) {
            $data['user_agent'] = $request->getUserAgent();
        }

        return $this->save($data);
    }
473880
public static function info(LogInfo $info)
    {
        $log = new ActionLogModel();

        if (!$info->getUserId() && !config('actionlog.guest')) {
            return false;
        }

        $content = $info->getContent();
        $client  = $info->getClient();

        $userKey = config('actionlog.user_foreign_key');

        $log->$userKey   = $info->getUserId();
        $log->type       = $info->getType();
        $log->content    = is_string($content) ? $content : json_encode($content);
        $log->client_ip  = $info->getClientIp();
        $log->client     = is_string($client) ? $client : json_encode($client);
        $log->created_at = Carbon::now();
        $log->save();

        return true;
    }
1164759
protected function parseCliLog($info)
    {
        if ($this->config['json']) {
            $message = json_encode($info, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\r\n";
        } else {
            $now = $info['timestamp'];
            unset($info['timestamp']);

            $message = implode("\r\n", $info);

            $message = "[{$now}]" . $message . "\r\n";
        }

        return $message;
    }
1249437
public function addDomainInfo( $domain, array $info ) {
		$domain = $this->normalizeDomain( $domain );
		if ( isset( $this->domainInfos[ $domain ] ) ) {
			$this->domainInfos[ $domain ] += $info;
		}
	}
506148
public function info($message, $category = null)
    {
        return $this->log(self::LEVEL_INFO, $message, $category);
    }
934990
public function add($message)
    {
        $this->_messages[] = $this->log_timestamp() . $message . PHP_EOL;
        $this->debug($message);
    }
672451
public function add($entry)
    {
        $this->log[] = $entry;
        while (count($this->log) > $this->size) {
            array_shift($this->log);
        }
    }