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

@ -94,6 +94,9 @@ func (l *grpcLogger) Errorf(format string, args ...interface{}) {
}
// TODO(miampf): Find a way to log on a fatal level, not an error level?
// A ReplaceAttr function could be implemented in the logger package, however
// this would increase it's complexity again (look [here](https://pkg.go.dev/log/slog#HandlerOptions)
// for a reference implementation.
func (l *grpcLogger) Fatal(args ...interface{}) {
var pcs [1]uintptr