summaryrefslogtreecommitdiff
path: root/inc/logger.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-25 12:41:38 -0400
committerGitHub <noreply@github.com>2025-03-25 12:41:38 -0400
commit9476d1355493cdab93064ec123ac13bfb78e8ed3 (patch)
treea99c2895027f22c4dbb4191fb132db36700bd0bf /inc/logger.h
parentfab7d9dcf249762eeac89a11487856e7569c66d5 (diff)
parent46c79e6e929ab784eb12417028dd43740b1a561e (diff)
Merge pull request #33 from bdunahu/dev-sid
Initial GUI Commit
Diffstat (limited to 'inc/logger.h')
-rw-r--r--inc/logger.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/inc/logger.h b/inc/logger.h
index 38527c8..88f9e30 100644
--- a/inc/logger.h
+++ b/inc/logger.h
@@ -11,7 +11,7 @@ class Logger
public:
static Logger* getInstance();
- ~Logger();
+ ~Logger() = default;
/**
* Do not allow copies.
@@ -32,15 +32,9 @@ class Logger
void log(LogLevel, const string &);
private:
- /**
- * Constructor.
- * @param The file name to log to.
- * @return A new logger object.
- */
- Logger(const string &);
+ Logger() = default;
static Logger* logger_instance;
static LogLevel level;
- static ofstream logFile;
static string level_to_string(LogLevel);
static int level_to_int(LogLevel);
};