mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 20:22:08 +08:00
12 lines
225 B
Go
12 lines
225 B
Go
// +build !debug
|
|
|
|
package app
|
|
|
|
import "github.com/wailsapp/wails/v2/pkg/logger"
|
|
|
|
// Init initialises the application for a production environment
|
|
func (a *App) Init() error {
|
|
a.logger.SetLogLevel(logger.ERROR)
|
|
return nil
|
|
}
|