LogEntry
class LogEntry (View source)
Methods
Gets the level of the log.
Gets the name of the logging level.
Gets the name of the logging level.
Gets the message of the log.
Gets the channel of the log.
Gets the channel name of the logging level.
Gets the id of the log.
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
string
getLevel()
Gets the level of the log.
string
getLevelName()
Gets the name of the logging level.
string
getLevelDisplayName()
Gets the name of the logging level.
string
getMessage()
Gets the message of the log.
string
getChannel()
Gets the channel of the log.
string
getChannelDisplayName()
Gets the channel name of the logging level.
int
getID()
Gets the id of the log.
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.