File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2222import os
2323import pathlib
2424import platform
25+ import logging
2526from .version import __version__
2627
27-
28+ logger = logging . getLogger ( __name__ )
2829MODULE = pathlib .Path (__file__ ).parent
2930
3031def raylib_library_path ():
@@ -54,9 +55,9 @@ def so_name():
5455try :
5556 raylib_fname = raylib_library_path ()
5657 rl = ffi .dlopen (raylib_fname )
57- print ('LOADED DYNAMICALLY SHARED LIB {} {}' .format (__version__ , raylib_fname ))
58+ logger . warning ('LOADED DYNAMICALLY SHARED LIB {} {}' .format (__version__ , raylib_fname ))
5859except Exception as e :
59- print (e )
60+ logger . exception (e )
6061
6162LIGHTGRAY = ( 200 , 200 , 200 , 255 )
6263GRAY = ( 130 , 130 , 130 , 255 )
Original file line number Diff line number Diff line change 3131import cffi
3232from .version import __version__
3333
34- logger .debug ("RAYLIB STATIC %s LOADED" , __version__ )
34+ logger .warning ("RAYLIB STATIC %s LOADED" , __version__ )
You can’t perform that action at this time.
0 commit comments