This commit is contained in:
Francesco Mazzoli
2023-05-26 10:14:27 +00:00
parent dd9c4ce7a9
commit fc0ae851c8
+2 -2
View File
@@ -29,8 +29,8 @@ private:
std::ostream& _out;
std::mutex _mutex;
public:
Logger(LogLevel logLevel, std::ostream& out, bool usr1ToDebug): _logLevel(logLevel), _savedLogLevel(logLevel), _out(out) {
if (usr1ToDebug) {
Logger(LogLevel logLevel, std::ostream& out, bool usr2ToDebug): _logLevel(logLevel), _savedLogLevel(logLevel), _out(out) {
if (usr2ToDebug) {
installLoggerSignalHandler(this);
}
}