Logger constructor
Logger()
Returns the singleton instance of Logger.
Ensures that only one instance is created and reused throughout the app.
Implementation
factory Logger() => _instance;
Returns the singleton instance of Logger.
Ensures that only one instance is created and reused throughout the app.
factory Logger() => _instance;