diff options
author | bd <bdunahu@operationnull.com> | 2025-03-10 22:07:36 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-10 22:07:36 -0400 |
commit | e8fbf581f70a899a26f71e4b2220dccd1b986ed8 (patch) | |
tree | 1e3097ec91c7fcd7fc9d00f912b46814900201f0 /src/main.cc | |
parent | af103123a90eaf34437b7979eee2579bab8b4b36 (diff) |
overload << operator for dram
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc index 8a24fdb..f2f416d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -4,6 +4,8 @@ #include <getopt.h> #include <iostream> +static Logger *global_log = Logger::getInstance(); + static std::string version_number = "v0.1"; static std::string banner = " _/_/_/ _/_/_/ _/_/_/ _/_/_/ \n" @@ -32,7 +34,6 @@ static void err() static void parseArguments(int argc, char **argv, bool &python) { - Logger *global_log = Logger::getInstance(); struct option long_options[] = { {"debug", no_argument, 0, 'd'}, {"no-python", no_argument, 0, 'p'}, @@ -64,7 +65,6 @@ static void parseArguments(int argc, char **argv, bool &python) int main(int argc, char **argv) { - Logger *global_log = Logger::getInstance(); print_version_number(); Cli cli; global_log->log(INFO, "Initializing..."); |