Interface **Phalcon\\Logger\\AdapterInterface** =============================================== Phalcon\\Logger\\AdapterInterface initializer Methods ------- abstract public :doc:`Phalcon\\Logger\\Adapter ` **setFormatter** (:doc:`Phalcon\\Logger\\FormatterInterface ` $formatter) Sets the message formatter abstract public :doc:`Phalcon\\Logger\\FormatterInterface ` **getFormatter** () Returns the internal formatter abstract public :doc:`Phalcon\\Logger\\Adapter ` **setLogLevel** (*int* $level) Filters the logs sent to the handlers to be greater or equals than a specific level abstract public *int* **getLogLevel** () Returns the current log level abstract public :doc:`Phalcon\\Logger\\Adapter ` **begin** () Starts a transaction abstract public :doc:`Phalcon\\Logger\\Adapter ` **commit** () Commits the internal transaction abstract public :doc:`Phalcon\\Logger\\Adapter ` **rollback** () Rollbacks the internal transaction abstract public *boolean* **close** () Closes the logger abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **log** (*int|string* $type, *string* $message, [*array* $context]) Sends/Writes messages to the file log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **debug** (*string* $message, [*array* $context]) Sends/Writes a debug message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **info** (*string* $message, [*array* $context]) Sends/Writes an info message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **notice** (*string* $message, [*unknown* $context]) Sends/Writes a notice message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **warning** (*string* $message, [*array* $context]) Sends/Writes a warning message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **error** (*string* $message, [*array* $context]) Sends/Writes an error message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **critical** (*string* $message, [*array* $context]) Sends/Writes a critical message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **alert** (*string* $message, [*array* $context]) Sends/Writes an alert message to the log abstract public :doc:`Phalcon\\Logger\\AdapterInterface ` **emergency** (*string* $message, [*array* $context]) Sends/Writes an emergency message to the log