LogManager
class LogManager
Properties
protectedarray | $channel | The default logging channel. |
Methods
__construct()
Create a new instance.
boolean
isFile()
Determine whether logs are written to files.
array
getLogFilenames()
Get the filenames of the logfiles.
string
getLogFileContent(string$filename)
Get the content of a logfile.
boolean
isRedis()
Determine whether logs are written to files.
array
getRedisLogMessages()
Get the log messages.
int
getRecentCount(integer$subDays =1)
Get the number of log messages of the last day(s).
Details
at line24
__construct()
Create a new instance.
at line35
boolean
isFile()
Determine whether logs are written to files.
at line45
array
getLogFilenames()
Get the filenames of the logfiles.
at line63
string
getLogFileContent(string$filename)
Get the content of a logfile.
at line75
boolean
isRedis()
Determine whether logs are written to files.
at line86
array
getRedisLogMessages()
Get the log messages.
at line98
int
getRecentCount(integer$subDays =1)
Get the number of log messages of the last day(s).