mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app/internal/log: extract log setup to separate package
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// SPDX-License-Identifier: Unlicense OR MIT
|
||||
|
||||
// Package points standard output, standard error and the standard
|
||||
// library package log to the platform logger.
|
||||
package log
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: Unlicense OR MIT
|
||||
|
||||
package app
|
||||
package log
|
||||
|
||||
/*
|
||||
#cgo LDFLAGS: -llog
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// +build darwin,ios
|
||||
|
||||
package app
|
||||
package log
|
||||
|
||||
/*
|
||||
#include "log_ios.h"
|
||||
@@ -16,6 +16,8 @@ import (
|
||||
"gioui.org/io/system"
|
||||
"gioui.org/op"
|
||||
"gioui.org/unit"
|
||||
|
||||
_ "gioui.org/app/internal/log"
|
||||
)
|
||||
|
||||
// WindowOption configures a Window.
|
||||
|
||||
Reference in New Issue
Block a user