lib/rage/logger/logger.rb in rage-rb-1.6.0 vs lib/rage/logger/logger.rb in rage-rb-1.7.0

- old
+ new

@@ -6,10 +6,10 @@ # All logs in `rage` consist of two parts: keys and tags. A sample log entry might look like this: # ``` # [fecbba0735355738] timestamp=2023-10-19T11:12:56+00:00 pid=1825 level=info message=hello # ``` # In the log entry above, `timestamp`, `pid`, `level`, and `message` are keys, while `fecbba0735355738` is a tag. -# +# # Use {tagged} to add custom tags to an entry: # ```ruby # Rage.logger.tagged("ApiCall") do # perform_api_call # Rage.logger.info "success"