lib/semantic_logger.rb in semantic_logger-2.12.0 vs lib/semantic_logger.rb in semantic_logger-2.13.0

- old
+ new

@@ -15,9 +15,15 @@ autoload :MongoDB, 'semantic_logger/appender/mongodb' autoload :Syslog, 'semantic_logger/appender/syslog' autoload :NewRelic, 'semantic_logger/appender/new_relic' autoload :Splunk, 'semantic_logger/appender/splunk' end + + if defined?(JRuby) + module JRuby + autoload :GarbageCollectionLogger, 'semantic_logger/jruby/garbage_collection_logger' + end + end end # Flush all appenders at exit, waiting for outstanding messages on the queue # to be written first at_exit do