loguru
loguru copied to clipboard
Sanity check error
Hi,
I'm trying to initialize loguru using init with '-v WARNING', but it is not agree with it.
I get the following error on initialization:
loguru.cpp:586 FATL| CHECK FAILED: argv[argc] == nullptr (N/A == N/A) Expected proper argc/argv
The variables received by init are as follows:
If I comment this check out - everything works as expected.
Anyway, I think you should not check argv[argc] but argv[argc-1] here, but it still fails if I change the line like this. Probably, something goes wrong in your macros...