💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# Class **Phalcon\Logger\Formatter\Line**[](# "永久链接至标题") *extends* abstract class [*Phalcon\Logger\Formatter*](#) *implements*[*Phalcon\Logger\FormatterInterface*](#) Formats messages using an one-line string ### Methods[](# "永久链接至标题") public **getDateFormat** () Default date format public **setDateFormat** (*unknown* $dateFormat) Default date format public **getFormat** () Format applied to each message public **setFormat** (*unknown* $format) Format applied to each message public **__construct** ([*string* $format], [*string* $dateFormat]) Phalcon\Logger\Formatter\Line construct public *string***format** (*string* $message, *int* $type, *int* $timestamp, [*array* $context]) Applies a format to a message before sent it to the internal log public **getTypeString** (*unknown* $type) inherited from Phalcon\Logger\Formatter Returns the string meaning of a logger constant public **interpolate** (*string* $message, [*array* $context]) inherited from Phalcon\Logger\Formatter Interpolates context values into the message placeholders | - [索引](# "总目录") - [下一页](# "Class Phalcon\Logger\Formatter\Syslog") | - [上一页](# "Class Phalcon\Logger\Formatter\Json") | - [API Indice](#) »