mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 06:52:26 -04:00
Changed TODO comments to reflect new ideas
new/better WIP TODOs wrote a note for fatal logging
This commit is contained in:
parent
0b0d3f7441
commit
d61f616c85
4 changed files with 9 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue