log4j2

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFormats

func GetFormats(path string) (map[string]string, error)

func Regexp

func Regexp(pattern string, customMatchers map[string]string) string

Types

type Appender

type Appender struct {
	// contains filtered or unexported fields
}

func NewAppender

func NewAppender(name, appenderType, filename, filePattern string, patternLayout *PatternLayout, immediateFlush bool) Appender

func (Appender) FilePattern

func (a Appender) FilePattern() string

func (Appender) Filename

func (a Appender) Filename() string

func (Appender) ImmediateFlush

func (a Appender) ImmediateFlush() bool

func (Appender) Name

func (a Appender) Name() string

func (Appender) PatternLayout

func (a Appender) PatternLayout() *PatternLayout

func (Appender) Type

func (a Appender) Type() string

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(configXml []byte) Config

func (*Config) Appenders

func (c *Config) Appenders() map[string]Appender

func (*Config) Empty

func (c *Config) Empty() bool

func (*Config) Properties

func (c *Config) Properties() map[string]string

type PatternLayout

type PatternLayout struct {
	// contains filtered or unexported fields
}

func NewPatternLayout

func NewPatternLayout(pattern string) *PatternLayout

func (*PatternLayout) Pattern

func (l *PatternLayout) Pattern() string

Jump to

Keyboard shortcuts

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