Control log level at compile-time