I'm using Pantheios library for logging. I have:
pantheios::log(pantheios::debug, "I'm debug");
pantheios::log(pantheios::informational, "Some info");
Which outputs:
[MyApplication, Jun 14 15:45:26.549; Debug] : I'm debug
[MyApplication.1, Jun 14 15:45:26.549; Informational] : Some info
But I want to choose between display info and debug:
set_level(pantheios::informational) //what should this be ?
pantheios::log(pantheios::debug, "I'm debug");
pantheios::log(pantheios::informational, "Some info");
Which outputs:
[MyApplication.1, Jun 14 15:45:26.549; Informational] : Some info