SearchTable Of ContentsPrevious topicNext topicClass Phalcon\Logger\Adapter\File > This Page |
Class Phalcon\Logger\Adapter¶Base class for Phalcon\Logger adapters Methods¶public setLogLevel (int $level) Filters the logs sent to the handlers to be less or equals than a specific level public getLogLevel () Returns the current log level public setFormatter (Phalcon\Logger\FormatterInterface $formatter) Sets the message formatter public begin () Starts a transaction public commit () Commits the internal transaction public rollback () Rollbacks the internal transaction public emergence (string $message) Sends/Writes an emergence message to the log public debug (string $message) Sends/Writes a debug message to the log public error (string $message) Sends/Writes an error message to the log public info (string $message) Sends/Writes an info message to the log public notice (string $message) Sends/Writes a notice message to the log public warning (string $message) Sends/Writes a warning message to the log public alert (string $message) Sends/Writes an alert message to the log public log (string $message, [int $type]) Logs messages to the internal loggger. Appends logs to the |