企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Abstract class Phalcon\\Logger\\Adapter # Abstract class **Phalcon\\Logger\\Adapter** Base class for Phalcon\\Logger adapters ### Methods public **setLogLevel** (*unknown* $level) Filters the logs sent to the handlers that are less or equal than a specific level public **getLogLevel** () Returns the current log level public **setFormatter** (*unknown* $formatter) Sets the message formatter public **begin** () Starts a transaction public **commit** () Commits the internal transaction public **rollback** () Rollbacks the internal transaction public **critical** (*unknown* $message, \[*unknown* $context\]) Sends/Writes a critical message to the log public **emergency** (*unknown* $message, \[*unknown* $context\]) Sends/Writes an emergency message to the log public **debug** (*unknown* $message, \[*unknown* $context\]) Sends/Writes a debug message to the log public **error** (*unknown* $message, \[*unknown* $context\]) Sends/Writes an error message to the log public **info** (*unknown* $message, \[*unknown* $context\]) Sends/Writes an info message to the log public **notice** (*unknown* $message, \[*unknown* $context\]) Sends/Writes a notice message to the log public **warning** (*unknown* $message, \[*unknown* $context\]) Sends/Writes a warning message to the log public **alert** (*unknown* $message, \[*unknown* $context\]) Sends/Writes an alert message to the log public [*Phalcon\\Logger\\AdapterInterface*](#)**log** (*mixed* $type, \[*mixed* $message\], \[*mixed* $context\]) Logs messages to the internal logger. Appends logs to the logger | - [索引](# "总目录") - [下一页](# "Class Phalcon\Logger\Adapter\File") | - [上一页](# "Abstract class Phalcon\Logger") | - [API Indice](#) »