Commit 0cf6a3217784753604259e2e6bffd9299d304dc4
1 parent
5978dc16
Make flush method public
Showing
1 changed file
with
1 additions
and
1 deletions
include/GLog.hpp
| ... | ... | @@ -81,6 +81,7 @@ public: |
| 81 | 81 | int size(void) const; |
| 82 | 82 | void open(const std::string& filename, bool clobber = false); |
| 83 | 83 | void close(void); |
| 84 | + void flush(bool force = false); | |
| 84 | 85 | void date(bool flag); |
| 85 | 86 | void cout(bool flag); |
| 86 | 87 | void cerr(bool flag); |
| ... | ... | @@ -104,7 +105,6 @@ protected: |
| 104 | 105 | void init_members(void); |
| 105 | 106 | void copy_members(const GLog& log); |
| 106 | 107 | void free_members(void); |
| 107 | - void flush(bool force = false); | |
| 108 | 108 | void header(const std::string& arg, int level); |
| 109 | 109 | std::string strdate(void) const; |
| 110 | 110 | std::string prefix(void) const; | ... | ... |