mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Refactor logger setup and path handling
Moved sys.path modification from canvas_node.py to __init__.py for better package management. Improved logger formatting for colored output and enhanced file logging configuration with error handling for log directory creation. Added python/__init__.py to make the 'python' directory a package.
This commit is contained in:
4
python/__init__.py
Normal file
4
python/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# This file makes the 'python' directory a package.
|
||||
from . import logger
|
||||
|
||||
__all__ = ['logger']
|
||||
Reference in New Issue
Block a user