Noah Petherbridge
cddc41465f
* All private Doodle source code into the pkg/ folder. * Potentially public code into the lib/ folder. * Centralize the logger into a subpackage.
18 lines
262 B
Go
18 lines
262 B
Go
package sdl
|
|
|
|
import "github.com/kirsle/golog"
|
|
|
|
var log *golog.Logger
|
|
|
|
// Verbose debug logging.
|
|
var (
|
|
DebugMouseEvents = false
|
|
DebugClickEvents = false
|
|
DebugKeyEvents = false
|
|
DebugWindowEvents = false
|
|
)
|
|
|
|
func init() {
|
|
log = golog.GetLogger("doodle")
|
|
}
|