Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Level string
Format string
AgentID string // required: identifies the agent, used in log filename
LogDir string // optional: if empty, falls back to os.Stdout
Output io.Writer // optional: override resolved writer (useful in tests)
}
Config holds logger configuration. Output is optional — resolved at construction time based on LogDir + AgentID.
Click to show internal directories.
Click to hide internal directories.