zen/core/zlog/error.go

12 lines
181 B
Go

package zlog
import (
"context"
"gitlab.bareksa.com/backend/zen/core/zerr"
)
func (zl *ZLog) LogError(ctx context.Context, err zerr.Error) {
LogRecord(ctx, err.LogRecord())
}