mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
587 B
587 B
Logging
Logging in v2 was confusing as both application logs and system (internal) logs were using the same logger. We have simplified this as follows:
- Internal logs are now handled using the standard Go
sloglogger. This is configured using theloggeroption in the application options. By default, this uses the tint logger. - Application logs can now be achieved through the new
logplugin which utilisesslogunder the hood. This plugin provides a simple API for logging to the console. It is available in both Go and JS.