Add pylogfilename and pyloglevel functions to allow separating python logging. Unify recollinit calls
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
||||
using namespace std;
|
||||
|
||||
Logger::Logger(const std::string& fn)
|
||||
: m_tocerr(false), m_loglevel(LLDEB), m_fn(fn)
|
||||
: m_fn(fn)
|
||||
{
|
||||
reopen(fn);
|
||||
}
|
||||
|
||||
+2
-2
@@ -81,8 +81,8 @@ public:
|
||||
#endif
|
||||
|
||||
private:
|
||||
bool m_tocerr;
|
||||
int m_loglevel;
|
||||
bool m_tocerr{false};
|
||||
int m_loglevel{LLERR};
|
||||
std::string m_fn;
|
||||
std::ofstream m_stream;
|
||||
#if LOGGER_THREADSAFE
|
||||
|
||||
Reference in New Issue
Block a user