-
# Proposal
Add a package-level variable `slog.DiscardHandler` (type `slog.Handler`) that will discard all log output.
[link to comment](https://github.com/golang/go/issues/62005#issuecomment-169…
-
code:
```
struct LogEvent {
std::string fmt;
void *udata;
std::string file_path;
int line;
SlogLevel level;
std::string tag;
int syslog_triger;
explicit LogEvent(std::str…
-
### What should be done?
After #4013, we should add another log format / handler that would include JSON fields like https://www.mongodb.com/docs/manual/reference/log-messages/#structured-logging
We…
-
Slog itself recommends using tracing, so let's use tracing.
Also: slog env_looger is a bit derpy to set up with defaults that provide useful logging information for falcon CLI applications. In part…
-
ptman updated
2 weeks ago
-
At the moment, it is not possible to clone the `Record` struct.
Cloning the `Record` would be very useful in order to write a `Drain` that for example sends the log to a background thread through a c…
-
### Proposal Details
Level and LevelVar have UnmarshalText methods, but there no direct way to parse a string into a Level.
UnmarshalText is fine if the level is a flag, but not if it's, say, a quer…
-
Given the release of [log/slog](https://pkg.go.dev/golang.org/x/exp/slog), it would be nice to replace logrus with it. There isn't really a great standard for logging in this repository, so this could…
-
**Version of dd-trace-go**
v1.67.0
**Describe what happened:**
dd-trace-go.v1/contrib/log/slog.Handler is replaced by internal handler after Logger.With or Logger.WithGroup call.
That'…
-
Hi! I would like to use slog in a browser in such a way, that I could output "compact" mode there using all the console goodies, like `console.group` (so I could collapse and expand logs): https://dev…