- h.merge!(message)
- h.merge!({ 'caller' => caller }) if level_num >= 2
You can use: if severity > WARN
Sorry, my view is wrong.
Thanks, RenWen
Thanks, RenWen
- h.to_json
- }
- def initialize(logdev = STDOUT, formatter = FORMATTER)
- super(logdev, formatter: formatter)
- end
+end
2.23.0