package
0.0.0-20240211052332-22e38cd441da
Repository: https://github.com/takuoki/golib.git
Documentation: pkg.go.dev
# Functions
ImageTagOption sets the image tag that the logger outputs.
LevelOption sets the log level that the logger outputs.
NewBasicLogger creates a basic logger that outputs in JSON format.
NewSimpleLogger creates a simple logger that outputs only message.
ParseLevel returns the log level based on the string.
ParseLevelWithDefault returns the log level based on the string.
TimeFormatOption sets the time format that the logger outputs.
# Constants
Level list.
Level list.
Level list.
Level list.
Level list.
Level list.
Level list.
# Interfaces
Logger represents a logging interface that outputs log with log level.