Beispiel #1
0
        /// <summary>
        /// Specifies the full file path of the log file.
        /// </summary>
        /// <param name="builder">The builder.</param>
        /// <param name="filePath">The file path.</param>
        /// <returns>The <see cref="AtataContextBuilder{TContext}"/> instance.</returns>
        public static AtataContextBuilder <NLogFileConsumer> WithFilePath(this AtataContextBuilder <NLogFileConsumer> builder, string filePath)
        {
            filePath.CheckNotNullOrWhitespace(nameof(filePath));

            return(builder.WithFilePath(_ => filePath));
        }