ya2 · news · projects · code · about

fixed logging
authorFlavio Calva <f.calva@gmail.com>
Sat, 8 Jan 2022 14:46:53 +0000 (15:46 +0100)
committerFlavio Calva <f.calva@gmail.com>
Sat, 8 Jan 2022 14:46:53 +0000 (15:46 +0100)
main.py
prj.org

diff --git a/main.py b/main.py
index ae351c20c0bd87c86dff224cc91b3f0c93b47243..251c49f51a1a83622e3b7164a05f373a4bc897c4 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,4 +1,5 @@
 '''This is the main file. This launches the application.'''
 '''This is the main file. This launches the application.'''
+import lib.engine.log  # so logging's info/debug are logged
 from sys import argv
 from panda3d.core import load_prc_file_data
 if '--version' in argv:
 from sys import argv
 from panda3d.core import load_prc_file_data
 if '--version' in argv:
diff --git a/prj.org b/prj.org
index 4f90573796f3239bdf66022c0903bf5f04484ca2..3a72a5c45c78066de2810df530f89a8a9eecaa18 100644 (file)
--- a/prj.org
+++ b/prj.org
@@ -2,7 +2,6 @@
 * todo
 ** rotation with vectors/quaternions (fixes some glitches)
 ** configuration (physics debug, music/sfx volume)
 * todo
 ** rotation with vectors/quaternions (fixes some glitches)
 ** configuration (physics debug, music/sfx volume)
-** logging.info|debug in the console
 ** instructions
 ** main menu
 ** implement the operations of the buttons
 ** instructions
 ** main menu
 ** implement the operations of the buttons