Table of Contents

Namespace Ploch.CommandLine.Spectre.Serilog

Classes

AppBuilderSerilogExtensions

Provides the AppBuilder entry point for opting an application in to Serilog logging.

LoggerConfigurationExtensions

Provides extension methods for configuring Serilog logger instances with predefined settings optimised for command-line applications using Spectre.Console.

SerilogConfigurationBundle

Provides a Ploch.Common.DependencyInjection.ServicesBundle for configuring Serilog logging, optionally reading further settings from an IConfiguration. Allows optional customisation of the log output template, log name, log file path, and the culture used to format values in the log files.

SerilogLoggingConfigurator

Provides extension methods for configuring Serilog logging in command-line applications with integration into the Microsoft.Extensions.DependencyInjection framework.