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
l := flume.New("http") // equivalent to slog.New(flume.Default()).With(flume.LoggerKey, "http")
19
+
l.Debug("hello world")
20
+
21
+
22
+
# Features
23
+
24
+
A flume handler has a couple nifty capabilities:
5
25
6
26
- It enables different levels based on the value of a special `logger` attribute in the record.
7
27
For example, the default level might be INFO, but records with the attribute `logger=http` can be enabled at the debug level. (The attribute name is configurable).
0 commit comments