Logging
Singleton class for thread-safe logging.
The Logger
class can be used to set the verbosity of the program. The verbosity levels are:
Code | Description |
---|---|
ERROR | Log errors only |
WARNING | Log warnings |
INFO | Log information (e.g. remaining time) |
TIMING | Log timing results for the different methods |
INTERMEDIATE | Save intermediate results (disk meshes) during the process |
DEBUG | Debug |
Example usage: Set the log level of the current program to INTERMEDIATE
C++
ps::Logger::setLogLevel(ps::LogLevel::INTERMEDIATE);
Python
vps.Logger.setLogLevel(vps.LogLevel.INTERMEDIATE)