Changed TODO comments to reflect new ideas

new/better WIP TODOs

wrote a note for fatal logging
This commit is contained in:
miampf 2024-01-08 16:22:36 +01:00
parent 0b0d3f7441
commit d61f616c85
No known key found for this signature in database
GPG key ID: 376EAC0E5307A669
4 changed files with 9 additions and 8 deletions

View file

@ -50,12 +50,6 @@ import (
"google.golang.org/grpc"
)
// TODO(miampf): maybe rewrite as a solution for increasing log level?
// WithIncreasedLevel returns a logger with increased logging level.
// func (l *Logger) WithIncreasedLevel(level zapcore.Level) *Logger {
// return &Logger{logger: l.getZapLogger().WithOptions(zap.IncreaseLevel(level)).Sugar()}
// }
// ReplaceGRPCLogger replaces grpc's internal logger with the given logger.
func ReplaceGRPCLogger(l *slog.Logger) {
replaceGRPCLogger(l)