Skip to content

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

@twaritwaikar

Description

@twaritwaikar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomerssubject: APIRelated to the API exposed to the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions