Package com.spotify.logging
Class LoggingSupport.Ident
- java.lang.Object
-
- com.spotify.logging.LoggingSupport.Ident
-
- Enclosing class:
- LoggingSupport
public static class LoggingSupport.Ident extends Object
The ident portion of the log line (comes between the record ID and the log message type). Format of log idents are defined in identities.py in the log-parser git project.
-
-
Field Summary
Fields Modifier and Type Field Description static LoggingSupport.Ident
EMPTY_IDENT
-
-
-
Field Detail
-
EMPTY_IDENT
public static final LoggingSupport.Ident EMPTY_IDENT
-
-
Constructor Detail
-
Ident
public Ident(int version, Object... identData)
Create a new ident.- Parameters:
version
- Ident version number. Will only be prepended to ident if not equal to 0.identData
- Objects that will be converted to strings, joined with tab characters, and placed inside brackets to make up the ident string.
-
-