You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,15 @@ end
43
43
44
44
contextual_logger =ApplicationLogger.new(STDOUT)
45
45
```
46
+
### Initialization of an ActiveSupport::BroadcastLogger
47
+
ActiveSupport 7.1 added a BroadcastLogger class. In order to broadcast logs including context, you need to `extend` the BroadcastLogger instance with a separate mixin:
0 commit comments