Documentation
¶
Index ¶
Constants ¶
View Source
const ( LevelDebug = "debug" LevelInfo = "info" LevelWarn = "warn" LevelError = "error" )
Variables ¶
View Source
var Levels = []string{LevelDebug, LevelInfo, LevelWarn, LevelError}
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
LogLevel string
// contains filtered or unexported fields
}
Options provides logging configuration for Carabiner applications.
func (*Options) Config ¶
func (lo *Options) Config() *command.OptionsSetConfig
Config returns the flag configuration for logging options.
func (*Options) InitLogger ¶
InitLogger creates and configures a structured logger with the specified level. The logger uses GCP-compatible field names for cloud deployment.
Click to show internal directories.
Click to hide internal directories.