In the context of Java's logging framework, decorations are metadata about the log message. Here is an alphabetic list of decorations that are available:
- level: The level associated with the logged message
- pid: PID = Processor Identifier
- tags: The tag set associated with the logged message
- tid: TID = Thread Identifier
- time: Refers to the current date and time, using the ISO-8601 format
- timemillis: Current time in milliseconds
- timenanos: Current time in nanoseconds
- uptime: Time, in seconds and milliseconds, since the JVM started
- uptimemillis: Time, in milliseconds, since the JVM started
- uptimenanos: Time, in nanoseconds, since the JVM started
Decorations can be surpassed or included in unified logging output. Regardless of which decorations are used, they will appear in the output in the following order:
- time
- uptime
- timemillis
- uptimemillis
- timenanos
- uptimenanos
- pid
- tid
- level
- tags