abstract class Logger { static late Logger _logger; static Logger getInstance() { return _logger; } static void setInstance(Logger logger) { _logger = logger; } void info(String msg, {String tag}); void warning(String msg, {String tag}); void error(String msg, {String tag}); } class LoggerConfig { String host; String serviceName; LoggerConfig({required this.host, required this.serviceName}); }