t0xa / gelfj

Graylog Extended Log Format (GELF) implementation in Java and log4j appender without any dependencies.
https://github.com/t0xa/gelfj/wiki
Other
186 stars 116 forks source link

Use value comparison when checking log levels. #74

Closed poreed closed 10 years ago

poreed commented 10 years ago

The passed in log level is not always one of the static instances provided. Compare against the intValue of the log Level to determine equality.