Interface **Phalcon\\Logger\\AdapterInterface** =============================================== Phalcon\\Logger\\AdapterInterface initializer Methods --------- abstract public **setFormatter** (:doc:`Phalcon\\Logger\\FormatterInterface ` $formatter) Sets the message formatter abstract public :doc:`Phalcon\\Logger\\FormatterInterface ` **getFormatter** () Returns the internal formatter abstract public **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 **log** (*string* $message, [*int* $type]) Sends/Writes messages to the file log abstract public **begin** () Starts a transaction abstract public **commit** () Commits the internal transaction abstract public **rollback** () Rollbacks the internal transaction abstract public *boolean* **close** () Closes the logger abstract public **debug** (*string* $message) Sends/Writes a debug message to the log abstract public **error** (*string* $message) Sends/Writes an error message to the log abstract public **info** (*string* $message) Sends/Writes an info message to the log abstract public **notice** (*string* $message) Sends/Writes a notice message to the log abstract public **warning** (*string* $message) Sends/Writes a warning message to the log abstract public **alert** (*string* $message) Sends/Writes an alert message to the log