Logger\AdapterInterface

Source on GitHub Methods abstract public setFormatter (Phalcon\Logger\FormatterInterface $formatter) ... abstract public getFormatter () ... abstract public setLogLevel (mixed $level) ... abstract public getLogLevel () ... abstract public log (mixed $type, [mixed $message], [array $context]) ... abstract public begin () ... abstract public commit () ... abstract public rollback () ... abstract public close () ... abstract public debug (mixed $message, [array $context]) ... abstract public error

Logger\Adapter::warning

public warning (mixed $message, [array $context]) Sends/Writes a warning message to the log

Logger\Adapter::setLogLevel

public setLogLevel (mixed $level) Filters the logs sent to the handlers that are less or equal than a specific level

Logger\Adapter::setFormatter

public setFormatter (Phalcon\Logger\FormatterInterface $formatter) Sets the message formatter

Logger\Adapter::rollback

public rollback () Rollbacks the internal transaction

Logger\Adapter::notice

public notice (mixed $message, [array $context]) Sends/Writes a notice message to the log

Logger\Adapter::log

public log (mixed $type, [mixed $message], [array $context]) Logs messages to the internal logger. Appends logs to the logger

Logger\Adapter::isTransaction

public isTransaction () Returns the whether the logger is currently in an active transaction or not

Logger\Adapter::info

public info (mixed $message, [array $context]) Sends/Writes an info message to the log

Logger\Adapter::getLogLevel

public getLogLevel () Returns the current log level