Changeset 98f06d9 in opengl-game for logger.h


Ignore:
Timestamp:
May 24, 2019, 8:01:34 PM (6 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
a23fc08
Parents:
d9b6a1c
Message:

Add support for ofstream to logger.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • logger.h

    rd9b6a1c r98f06d9  
    33
    44#include <string>
     5#include <fstream>
    56
    67using namespace std;
    78
    89#define GL_LOG_FILE "gl.log"
     10#define LOG_FILE "game.log"
     11
     12extern ofstream ofs;
    913
    1014bool restart_gl_log();
     
    1216bool gl_log_err(const string message, ...);
    1317
     18void open_log();
     19ofstream& get_log();
     20void close_log();
     21
    1422#endif
Note: See TracChangeset for help on using the changeset viewer.