Package com.mendix.logging
Class LogMessage
java.lang.Object
com.mendix.logging.LogMessage
LogMessage objects hold all information of Log Message, and get passed around through the logging system.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLogMessage
(ILogNode node, LogLevel level, Object message, Throwable cause) Creates a new log message with the specified information.LogMessage
(ILogNode node, LogLevel level, Object message, Throwable cause, long timestamp) Creates a new log message with the specified information. -
Method Summary
-
Field Details
-
node
-
level
-
message
-
cause
-
timestamp
public final long timestamp -
prefix
-
-
Constructor Details
-
LogMessage
Creates a new log message with the specified information.- Parameters:
node
- the log node on which the message was loggedlevel
- the log level at which the message was loggedmessage
- the log messagecause
- the log exception to log (can be null)
-
LogMessage
Creates a new log message with the specified information.- Parameters:
node
- the log node on which the message was loggedlevel
- the log level at which the message was loggedmessage
- the log messagecause
- the log exception to log (can be null)timestamp
- the log exception time
-