The SeasLog class
(PECL seaslog >=1.0.0)
Introduction
Class synopsis
string
$level
,string
$log_path
= ?,string
$key_word
= ?,int
$start
= ?,int
$limit
= ?,int
$order
= ?): mixed
string
$level
,string
$message
= ?,array
$content
= ?,string
$logger
= ?): bool
Table of Contents
- SeasLog::alert — Record alert log information
- SeasLog::analyzerCount — Get log count by level, log_path and key_word
- SeasLog::analyzerDetail — Get log detail by level, log_path, key_word, start, limit, order
- SeasLog::closeLoggerStream — Manually release stream flow from logger
- SeasLog::__construct — Description
- SeasLog::critical — Record critical log information
- SeasLog::debug — Record debug log information
- SeasLog::__destruct — Description
- SeasLog::emergency — Record emergency log information
- SeasLog::error — Record error log information
- SeasLog::flushBuffer — Flush logs buffer, dump to appender file, or send to remote api with tcp/udp
- SeasLog::getBasePath — Get SeasLog base path.
- SeasLog::getBuffer — Get the logs buffer in memory as array
- SeasLog::getBufferEnabled — Determin if buffer enabled
- SeasLog::getDatetimeFormat — Get SeasLog datetime format style
- SeasLog::getLastLogger — Get SeasLog last logger path
- SeasLog::getRequestID — Get SeasLog request_id differentiated requests
- SeasLog::getRequestVariable — Get SeasLog request variable
- SeasLog::info — Record info log information
- SeasLog::log — The Common Record Log Function
- SeasLog::notice — Record notice log information
- SeasLog::setBasePath — Set SeasLog base path
- SeasLog::setDatetimeFormat — Set SeasLog datetime format style
- SeasLog::setLogger — Set SeasLog logger name
- SeasLog::setRequestID — Set SeasLog request_id differentiated requests
- SeasLog::setRequestVariable — Manually set SeasLog request variable
- SeasLog::warning — Record warning log information