16 lines
361 B
Go
16 lines
361 B
Go
package znotify
|
|
|
|
import (
|
|
"context"
|
|
"log/slog"
|
|
|
|
"gitlab.bareksa.com/backend/zen/core/zerr"
|
|
"gitlab.bareksa.com/backend/zen/core/zoptions"
|
|
)
|
|
|
|
type Null struct{}
|
|
|
|
func (Null) NotifyError(ctx context.Context, err zerr.Error, opts ...zoptions.NotifyOption) {}
|
|
|
|
func (Null) NotifyLog(ctx context.Context, record slog.Record, options ...zoptions.NotifyOption) {}
|