sdslabs/Rubeus

Add ability to log to a user-defined file

twaritwaikar opened this issue · 0 comments

static std::ofstream * LogFile;

The stream variable declared above is used to send logs to a file. However, we would like the user to be able to set this value by themselves.
This requires making 2 functions in this class.

  1. Set the log file variable
  2. Set the path to the logs and the engine figures out how to make a new stream variable.