in src/OpenTelemetryEngineTests/Logging/FunctionsLoggerTests.cs [35:41]
public void FunctionsLogger_InvalidLogTypesThrow()
{
var logger = FunctionsLoggerBuilder.GetLogger();
Assert.Throws<System.ArgumentException>(() => logger.WorkerLogHandler("NotALogCategory", "This is an invalid log", null));
Assert.Throws<System.ArgumentException>(() => logger.Log("This is an invalid log", "NotALogCategory"));
}