forked from MDL29/JacoBot
parent
7e016819dc
commit
df30c40deb
4
jacovirt/jacovirt/logger.py
Normal file
4
jacovirt/jacovirt/logger.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
import logging
|
||||
|
||||
# Logger config
|
||||
logging.basicConfig(format="%(asctime)s %(levelname)s %(message)s", datefmt='%m/%d/%Y %H:%M:%S', level=logging.INFO)
|
|
@ -1,5 +1,6 @@
|
|||
import arcade
|
||||
|
||||
import jacovirt.logger
|
||||
import logging
|
||||
|
||||
# Screen title and size
|
||||
SCREEN_TITLE = "Jaco Pad"
|
||||
|
@ -11,7 +12,6 @@ SCREEN_HEIGHT = int(1000* SCREEN_MULTILPLIER)
|
|||
BACKGROUND_COLOR = (133, 100, 100)
|
||||
|
||||
|
||||
|
||||
class Pad(arcade.Window):
|
||||
"""Main application class"""
|
||||
|
||||
|
@ -23,6 +23,7 @@ class Pad(arcade.Window):
|
|||
|
||||
def setup(self):
|
||||
"""Set up the pad"""
|
||||
logging.info("Set up the pad.")
|
||||
...
|
||||
|
||||
def on_draw(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user