optimze package and remove logging subpackage

This commit is contained in:
2026-04-20 12:43:02 +00:00
parent a7b4e70867
commit 53da3a9a6e
2 changed files with 126 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package tecaminologger
type Config struct {
MaxSize int // max. size of file in MB
MaxBackup int //
MaxAge int
Debug bool
TerminalOut bool
}
func DefaultConfig() *Config {
return &Config{
Debug: false,
TerminalOut: false,
MaxSize: 1,
MaxBackup: 3,
MaxAge: 28,
}
}