mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Turned on Logging by default, set to WARNING level
This commit is contained in:
parent
fc28908788
commit
7562949075
@ -83,7 +83,7 @@ vtkm_option(VTKm_ENABLE_TBB "Enable TBB support" OFF)
|
||||
vtkm_option(VTKm_ENABLE_OPENMP "Enable OpenMP support" OFF)
|
||||
vtkm_option(VTKm_ENABLE_RENDERING "Enable rendering library" ON)
|
||||
vtkm_option(VTKm_ENABLE_BENCHMARKS "Enable VTKm Benchmarking" OFF)
|
||||
vtkm_option(VTKm_ENABLE_LOGGING "Enable VTKm Logging" OFF)
|
||||
vtkm_option(VTKm_ENABLE_LOGGING "Enable VTKm Logging" ON)
|
||||
vtkm_option(VTKm_ENABLE_MPI "Enable MPI support" OFF)
|
||||
vtkm_option(VTKm_ENABLE_DOCUMENTATION "Build Doxygen documentation" OFF)
|
||||
vtkm_option(VTKm_ENABLE_EXAMPLES "Build examples" OFF)
|
||||
|
@ -108,7 +108,7 @@ void InitLogging(int& argc, char* argv[])
|
||||
{
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Off, "Off");
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Fatal, "FATL");
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Error, "ERR");
|
||||
SetLogLevelNamj(vtkm::cont::LogLevel::Error, "ERR");
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Warn, "WARN");
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Info, "Info");
|
||||
SetLogLevelName(vtkm::cont::LogLevel::Perf, "Perf");
|
||||
@ -123,6 +123,8 @@ void InitLogging(int& argc, char* argv[])
|
||||
loguru::set_verbosity_to_name_callback(&verbosityToNameCallback);
|
||||
loguru::set_name_to_verbosity_callback(&nameToVerbosityCallback);
|
||||
|
||||
// Set the Default verbosity level to WARNING
|
||||
loguru::g_stderr_verbosity = loguru::Verbosity_WARNING;
|
||||
loguru::init(argc, argv);
|
||||
|
||||
LOG_F(INFO, "Logging initialized.");
|
||||
|
Loading…
Reference in New Issue
Block a user