package
0.0.0-20250105150925-316ef418ef84
Repository: https://github.com/orbit-w/meteor.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
DefaultConfig returns a Config with default settings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Global logger methods.
No description provided by the author
New creates a new logger with the given options.
No description provided by the author
NewFileLogger creates a new logger with file output.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithDevelopment sets the logger's development mode.
WithFormat sets the logger's encoding format.
WithInitialFields sets initial fields for the logger.
WithLevel sets the logger's level.
WithOutputPaths sets the logger's output paths.
No description provided by the author
WithRotation sets the logger's rotation config.
WithSampling sets the logger's sampling config.

# Structs

Config defines the configuration for logger.
No description provided by the author
RotateConfig sets the configuration for log rotation.
SamplingConfig sets a sampling strategy for the logger.

# Type aliases

Option configures a Logger.