package
1.0.0
Repository: https://github.com/cloudwan/gohan.git
Documentation: pkg.go.dev

# Functions

FatalPanic logs panic and crashes Gohan process.
NewLogger creates new logger for automatically retrieved module name.
NewLoggerForModule creates new logger for a given module name.
Panic logs panic and prevent crash.
SetUpBasicLogging configures logging to output logs to w, if levels are nil DefaultModuleLevel is used.
SetUpLogging configures logging based on configuration.

# Constants

Level values.
Level values.
Level values.
Level values.
Level values.
Level values.

# Variables

Log formats.
Log formats.
Log formats.

# Structs

BufWritter is a thread safe in memory writer, different go routines trees write to different buffers.
ModuleLevel holds module name with desired log level.

# Interfaces

Logger provides logging capabilities.

# Type aliases

Level defines all available log levels for log messages.