static Logger* getInstance() { if(instance == NULL) initialize(LogSettings()); return instance; }
/** * Get the singleton instance. * @return The internal instance of the logger that should be used. */ static Logger& getInstance() { if (nullptr == instance) { initialize(LogSettings()); } return *instance; }
/** * Initialize an instance of the default logger and store it as internal instance. */ static void initialize() { initialize(LogSettings()); }