package
1.4.13
Repository: https://github.com/bnb-chain/bsc-mev-sentry.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CtxDebug uses fmt.Sprint to construct and log a message.
CtxDebugf uses fmt.Sprintf to log a templated message.
CtxDebugw logs a message with some additional context.
CtxError uses fmt.Sprint to construct and log a message.
CtxErrorf uses fmt.Sprintf to log a templated message.
CtxErrorw logs a message with some additional context.
CtxInfo uses fmt.Sprint to construct and log a message.
CtxInfof uses fmt.Sprintf to log a templated message.
CtxInfow logs a message with some additional context.
CtxPanic uses fmt.Sprint to construct and log a message, then panics.
CtxPanicf uses fmt.Sprintf to log a templated message, then panics.
CtxPanicw logs a message with some additional context, then panics.
CtxWarn uses fmt.Sprint to construct and log a message.
CtxWarnf uses fmt.Sprintf to log a templated message.
CtxWarnw logs a message with some additional context.
Debug uses fmt.Sprint to construct and log a message.
Debugf uses fmt.Sprintf to log a templated message.
Debugw logs a message with some additional context.
Error uses fmt.Sprint to construct and log a message.
Errorf uses fmt.Sprintf to log a templated message.
Errorw logs a message with some additional context.
Info uses fmt.Sprint to construct and log a message.
Infof uses fmt.Sprintf to log a templated message.
Infow logs a message with some additional context.
Init auto setting level and creating log directory.
No description provided by the author
No description provided by the author
NewMultiWriteSyncer creates a WriteSyncer that duplicates its writes and sync calls, much like io.MultiWriter.
Panic uses fmt.Sprint to construct and log a message, then panics.
Panicf uses fmt.Sprintf to log a templated message, then panics.
Panicw logs a message with some additional context, then panics.
ParseLevel parses level from string.
SetLevel resets enabled log level.
NOTE: this func isn't thread safe.
SetWriter resets log writer.
StandardizePath is meant to decorate given root path by nodeIP/localIP/serviceName so that the returned path is consistent and unified.
Stop flushes any buffered log entries, then stops writer.
Warn uses fmt.Sprint to construct and log a message.
Warnf uses fmt.Sprintf to log a templated message.
Warnw logs a message with some additional context.
With adds a variadic number of fields to the logging context.

# Constants

DebugLevel level.
ErrorLevel level.
InfoLevel level.
PanicLevel level.
WarnLevel level.

# Structs

No description provided by the author
No description provided by the author

# Type aliases

AsyncWriter uses as log writer.
No description provided by the author
No description provided by the author