Documentation
¶
Overview ¶
Package logger provides logging functionality for the vulnerable target application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init()
Init initializes the global logger with the default info level. Deprecated: Use New() or NewWithLevel() with SetGlobal() instead.
func InitWithLevel ¶
func InitWithLevel(verbosityLevel string)
InitWithLevel initializes the global logger with the specified verbosity level. Deprecated: Use New() or NewWithLevel() with SetGlobal() instead.
func New ¶
New creates a new zerolog.Logger with the given configuration. This is a pure factory function that returns a configured logger without modifying any global state. If cfg is nil, DefaultConfig() is used.
func NewWithLevel ¶
NewWithLevel creates a new zerolog.Logger with the specified level and default settings for other options.