mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Allow resetting the logger back to default (#55)
This commit is contained in:
committed by
Peter Johnson
parent
8f97637b71
commit
c02d34dbf3
@@ -61,6 +61,8 @@ static void def_log_func(unsigned int level, const char* file,
|
||||
#endif
|
||||
}
|
||||
|
||||
Logger::Logger() { SetLogger(def_log_func); }
|
||||
Logger::Logger() { SetDefaultLogger(); }
|
||||
|
||||
Logger::~Logger() {}
|
||||
|
||||
void Logger::SetDefaultLogger() { SetLogger(def_log_func); }
|
||||
|
||||
Reference in New Issue
Block a user