private static ILogBuilder CreateBuilder(LogLevel logLevel, string callerFilePath) { string name = GetName(callerFilePath); var writer = ResolveWriter(); var builder = new LogBuilder(logLevel, writer); builder.Logger(name); MergeProperties(builder); return(builder); }
private static LogBuilder CreateBuilder(LogLevel logLevel, string callerFilePath) { string name = LoggerExtensions.GetFileNameWithoutExtension(callerFilePath ?? string.Empty); var writer = ResolveWriter(); var builder = new LogBuilder(logLevel, writer); builder.Logger(name); MergeProperties(builder); return(builder); }