Documentation
¶
Overview ¶
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`. DO NOT EDIT.
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfig ¶
type LoggerConfig struct {
LogLevel loglevel.LogLevel `pkl:"logLevel"`
EnableConsole bool `pkl:"enableConsole"`
EnableFile bool `pkl:"enableFile"`
FileDirectory *string `pkl:"fileDirectory"`
FileName *string `pkl:"fileName"`
FileMaxSize *int `pkl:"fileMaxSize"`
FileMaxBackups *int `pkl:"fileMaxBackups"`
FileMaxAge *int `pkl:"fileMaxAge"`
FileCompress *bool `pkl:"fileCompress"`
FileLocalFormat *bool `pkl:"fileLocalFormat"`
LogFormat logformat.LogFormat `pkl:"logFormat"`
}
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*LoggerConfig, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a LoggerConfig
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret *LoggerConfig, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a LoggerConfig
Directories
¶
| Path | Synopsis |
|---|---|
|
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
|
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`. |
|
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
|
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`. |
Click to show internal directories.
Click to hide internal directories.