Integer-based log levels for better C# compatibility