2020-11-24 14:22:45 +01:00
|
|
|
// Copyright 2020 The Ebiten Authors
|
2018-03-04 16:45:03 +01:00
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2022-07-09 08:32:37 +02:00
|
|
|
//go:build ebitenginedebug || ebitendebug
|
|
|
|
// +build ebitenginedebug ebitendebug
|
2018-03-04 16:45:03 +01:00
|
|
|
|
2020-11-24 14:22:45 +01:00
|
|
|
package debug
|
2018-03-04 16:45:03 +01:00
|
|
|
|
2020-11-24 14:22:45 +01:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2021-08-04 18:15:41 +02:00
|
|
|
const IsDebug = true
|
|
|
|
|
2020-11-24 14:22:45 +01:00
|
|
|
func Logf(format string, args ...interface{}) {
|
|
|
|
fmt.Printf(format, args...)
|
2018-03-04 16:45:03 +01:00
|
|
|
}
|