mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
14 lines
280 B
Go
14 lines
280 B
Go
package wails
|
|
|
|
// RuntimeLog exposes the logging interface to the runtime
|
|
type RuntimeLog struct {
|
|
}
|
|
|
|
func newRuntimeLog() *RuntimeLog {
|
|
return &RuntimeLog{}
|
|
}
|
|
|
|
// New creates a new logger
|
|
func (r *RuntimeLog) New(prefix string) *CustomLogger {
|
|
return newCustomLogger(prefix)
|
|
}
|