mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 22:31:06 +08:00
13 lines
251 B
Go
13 lines
251 B
Go
//go:build production
|
|
// +build production
|
|
|
|
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
|
|
}
|