Versions in this module Expand all Collapse all v0 v0.2.0 Jan 13, 2025 Changes in this version + var Writer Logger + func Assert[T comparable](a, b T) (e *Event) + func Colored(writer io.Writer, domain ...string) Logger + func ColoredWithT(writer io.Writer, formatT bool, domain ...string) Logger + func EqualHook[T comparable](a, b T) HookFunc + func ErrHook(err error) HookFunc + func GreaterHook[T cmp.Ordered](a, b T) HookFunc + func Json(writer io.Writer, domain ...string) Logger + func Less(a, b float64) (e *Event) + func LessHook(a, b float64) HookFunc + func LessWithLevel(a, b float64, level Level) (e *Event) + func NotEqualWithLevel[T comparable](a, b T, level Level) (e *Event) + func NotEqual[T comparable](a, b T) (e *Event) + func NotGreaterWithLevel[T cmp.Ordered](a, b T, level Level) (e *Event) + func NotGreater[T cmp.Ordered](a, b T) (e *Event) + func OnErr(err error) (e *Event) + func OnErrWithLevel(err error, level Level) (e *Event) + func PanicLess(a, b float64) (e *Event) + func PanicNotGreater[T cmp.Ordered](a, b T) (e *Event) + func PanicOnErr(err error) (e *Event) + func Plain(writer io.Writer, formatT bool, domain ...string) Logger + func PlainWithT(writer io.Writer, formatT bool, domain ...string) Logger