zen/core/zlog/error.go

12 lines
181 B
Go
Raw Normal View History

2024-08-28 11:01:20 +07:00
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())
}