LogEntry
class LogEntry (View source)
Properties
int|null | $id | ||
string|null | $channel | ||
DateTime|null | $time | ||
string|null | $message | ||
string|null | $level | ||
UserInfo|null | $user |
Methods
No description
No description
No description
No description
No description
No description
No description
Gets the name of the logging level.
Gets the name of the logging level.
Gets the channel name of the logging level.
Gets the HTML code for the icon of the logging level.
Gets the user id of the user that caused the log.
Gets the user object of the user that caused the log.
Gets the formatted time of the log timestamp.
Gets the timestamp of the log.
Deletes the log entry.
Details
__construct($row = null)
No description
int|null
getId()
No description
LogEntry
setId(int|null $id)
No description
string|null
getChannel()
No description
LogEntry
setChannel(string|null $channel)
No description
DateTime|null
getTime()
No description
string|null
getMessage()
No description
LogEntry
setMessage(string|null $message)
No description
string|null
getLevel()
No description
LogEntry
setLevel(string|null $level)
No description
UserInfo|null
getUser()
No description
string
getLevelName()
Gets the name of the logging level.
string
getLevelDisplayName()
Gets the name of the logging level.
string
getChannelDisplayName()
Gets the channel name of the logging level.
string
getLevelIcon()
Gets the HTML code for the icon of the logging level.
int
getUserID()
Gets the user id of the user that caused the log.
User|null
getUserObject()
Gets the user object of the user that caused the log.
string
getDisplayTimestamp()
Gets the formatted time of the log timestamp.
string
getTimestamp()
Gets the timestamp of the log.
static LogEntry|null
getByID(int $logID)
Gets the log object from its id.
delete()
Deletes the log entry.