lib/semantic_logger/appender/mongodb.rb in semantic_logger-0.2.0 vs lib/semantic_logger/appender/mongodb.rb in semantic_logger-0.3.0
- old
+ new
@@ -10,11 +10,11 @@
# thread : "name of thread",
# name : "ch.qos.logback.classic.db.mongo.MongoDBAppenderTest",
# level : 'trace|debug|warn|info|error',
# message : "blah blah",
# duration : ms, # Set by Logger#benchmark
- # tracking_number : "Some tracking id"
- # metadata : {
+ # tags : "Some tracking id" | ["id1", "id2"]
+ # payload : {
# Optional. Any user supplied data, including any thread specific context variables
# values supplied on a per log entry will override any thread context values
# }
# # When an exception is supplied as the first or second parameter
# # If supplied as the first parameter, message='exception name'
\ No newline at end of file