Class TraceMessage
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.net.dd.netherwingcore.common.logging.Message
br.net.dd.netherwingcore.common.logging.TraceMessage
- All Implemented Interfaces:
Detail, Serializable
Represents a trace message in the logging system.
This class extends the base
Message class,
and it is categorized specifically as a trace message by
setting the Level to Level.TRACE.
This class can be used to differentiate between various types of log messages in the application, particularly for very fine-grained logging.
Example Usage:
TraceMessage trace = new TraceMessage("This is a trace message");
System.out.println(trace.getMessage());
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTraceMessage(String message) Constructs aTraceMessagewith the specified message content. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TraceMessage
Constructs aTraceMessagewith the specified message content. The severity level is automatically set toLevel.TRACE.- Parameters:
message- The content of the trace message.
-