namespace Bts.SharedStreams.StreamFactories; using Microsoft.Extensions.Logging; internal static partial class StreamFactoryLogs { [LoggerMessage(EventId = 1, Level = LogLevel.Warning, Message = "Unable to create '{StreamType}' stream. Missing required parameter '{Parameter}'.")] public static partial void LogMissingParam(this ILogger logger, string streamType, string parameter); [LoggerMessage(EventId = 2, Level = LogLevel.Warning, Message = "Unable to create '{StreamType}' stream. {error}.")] public static partial void LogInvalidParams(this ILogger logger, string streamType, string error); }