Completely developed by claude-3-5-sonnet-20241022
with simple prompt:
"hit me up with a swiss-knife style of logger in python, where I can either use it on the fly with ease or use it in complex and serious projects for complicated and detailed logging. It should be able to do both console logging and file logging with customized and detailed format, datetime, file name, line number, you name it. It should ideally be a single logger file, where I can import the logger from inside different .py files and use it. "
- Singleton pattern ensures same logger instance across all imports
- Supports both console and file logging simultaneously