mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 23:02:16 +00:00
Add support for logging to file
This commit is contained in:
@@ -68,7 +68,11 @@ func LoadConfig(c *config.LuetConfig) error {
|
||||
NewSpinner()
|
||||
|
||||
if c.GetLogging().Path != "" {
|
||||
// TODO: Init logrus, etc.
|
||||
// Init zap logger
|
||||
err = ZapLogger()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
// Load repositories
|
||||
|
Reference in New Issue
Block a user