Check if this level should log given another level
bool shouldLog(LogLevel messageLevel) { return messageLevel.value <= value && value > 0; }