No way to specify more than 4 levels of user logging levels
There does not appear a way to actually specify multiple logging levels for user code. The problem is that vtkm::cont::LogLevel
is declared as a scoped enum. Scoped enums are good practice, but the problem is that the values in a scoped enum cannot be treated like general numbers. So although LogLevel
defines UserFirst
as 1 and UserLast
as 255, there is no practical way to, say, create a log at level 2. You should be able to say vtkm::cont::LogLevel::UserFirst + 1
, but you cannot.