Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to log to a user-defined file #124

Open
twaritwaikar opened this issue Oct 25, 2019 · 0 comments
Open

Add ability to log to a user-defined file #124

twaritwaikar opened this issue Oct 25, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers subject: API Related to the API exposed to the user

Comments

@twaritwaikar
Copy link
Member

twaritwaikar commented Oct 25, 2019

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.
@twaritwaikar twaritwaikar added enhancement New feature or request good first issue Good for newcomers subject: API Related to the API exposed to the user labels Oct 25, 2019
@twaritwaikar twaritwaikar removed the gci label Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers subject: API Related to the API exposed to the user
Projects
None yet
Development

No branches or pull requests

1 participant