mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 04:59:38 +08:00
15 lines
280 B
Go
15 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)
|
|
}
|