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 | 85078b99e4cf652fcbd5f4d36b061674a2fe8aa6 (patch) | |
| tree | 1e3097ec91c7fcd7fc9d00f912b46814900201f0 /src/main.cc | |
| parent | 25d6d41af95cc2a2db3ba2651e5d784413c7058f (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..."); | 
