java.lang.Object
ch.qos.logback.core.util.DirectJson
This is a utility class for writing json logs.
It is imported from (and in collaboration with) penna.
- Author:
- Henry John Kupty
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkSpace
(int size) void
void
byte[]
flush()
void
void
void
void
openObject
(String str) void
writeBoolean
(boolean value) void
void
void
writeNumber
(double data) void
writeNumber
(long data) void
writeNumberRaw
(long data) void
writeNumberValue
(String key, double value) void
writeNumberValue
(String key, long value) void
void
writeRaw
(byte[] chr) void
writeRaw
(char chr) void
void
writeSep()
void
writeString
(String str) void
writeStringValue
(String key, String value)
-
Constructor Details
-
DirectJson
public DirectJson()
-
-
Method Details
-
openObject
-
openArray
-
openObject
-
openArray
-
closeObject
-
closeArray
-
writeRaw
-
writeRaw
-
writeRaw
-
writeQuote
-
writeString
-
writeSep
-
writeNumberRaw
-
writeNumber
-
writeNumber
-
writeEntrySep
-
writeStringValue
-
writeNumberValue
-
writeNumberValue
-
writeBoolean
-
writeNull
-
checkSpace
-
flush
-