Force LogLevel enum to be signed

To avoid "unsigned expression >= 0 is always true" warnings.

Before the unused LOG_LEVEL_NONE was 0 and LOG_LEVEL_ERROR was 1. Now
LOG_LEVEL_ERROR is 0 which triggered the problem.