Skip to content

Commit 4001799

Browse files
author
Russ Egan
committed
todo updates
1 parent 6bdf3c3 commit 4001799

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

v2/TODO.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,9 @@
3434
slog.With(), means that child logger will be stuck with the older handler...it generally poses the same order-of-init problems
3535
which flume is trying to solve in general. So, for now, I'm leaving out this type of function. I will document that users
3636
*can* do this if they wish, by first setting a new default sink, then setting slog's default handler, but that there are caveats.
37+
- or should v2 act like v1 and not log anything until it has been configured? Should there be an option to buffer until a configuration
38+
has been set, so logs won't be lost?
3739
- [ ] When using Config to set all the levels, does that clear any prior level settings? Is there generally a way to clear/reset
38-
all confs?
40+
all confs?
41+
- [ ] Should there be a bridge from v1 to v2? Add a way to direct all v1 calls to v2 calls?
42+
- [ ] A gofix style tool to migrate a codebase from v1 to v2, and migrating from Log() to LogCtx() calls?

0 commit comments

Comments
 (0)