logger

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated from Pkl module `com.pipelaner.settings.logger.config`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.settings.logger.config`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.settings.logger.config`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.0.0

type Config struct {
	LogLevel loglevel.LogLevel `pkl:"logLevel"`

	EnableConsole bool `pkl:"enableConsole"`

	LogFormat logformat.LogFormat `pkl:"logFormat"`

	FileParams *WriteFileParams `pkl:"fileParams"`
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*Config, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Config

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret *Config, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Config

type WriteFileParams added in v1.0.6

type WriteFileParams struct {
	Directory string `pkl:"directory"`

	Name string `pkl:"name"`

	MaxSize *pkl.DataSize `pkl:"maxSize"`

	MaxBackups int `pkl:"maxBackups"`

	MaxAge int `pkl:"maxAge"`

	Compress bool `pkl:"compress"`

	LocalFormat bool `pkl:"localFormat"`
}

Directories

Path Synopsis
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL