Created
May 20, 2020 03:19
-
-
Save omalley/745ed04be3e22a3077ca51c5da8ebf1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum LogLevel { | |
TRACE, DEBUG, INFO, WARN, ERROR, FATAL | |
} | |
record LogLocation { | |
union{null, string} className; | |
union{null, string} fileName; | |
union{null, long} lineNumber; | |
union{null, string} methodName; | |
} | |
record LogEvent { | |
LogLevel level; | |
long time; | |
string loggerName; | |
string Message; | |
union{null, string} threadName; | |
union{null, LogLocation} location; | |
union{null, string} throwable; | |
union{null, map<string>} mappedDiagnosticContext; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment