public static PipeLogger <TLogger> UseDefaultWriterPipe <TLogger>(this PipeLogger <TLogger> source) where TLogger : class, ILogger { source.Pipes.Add(PipeLogger <TLogger> .LogWriterPipe); return(source); }
public static PipeLogger <TLogger> ClearPipes <TLogger>(this PipeLogger <TLogger> source) where TLogger : class, ILogger { source.Pipes.Clear(); return(source); }
public static PipeLogger <TLogger> UsePipes <TLogger>( this PipeLogger <TLogger> source, params Action <PipeLoggerContext <TLogger>, Action <PipeLoggerContext <TLogger> > >[] collection ) where TLogger : class, ILogger { source.Pipes.AddRange(collection); return(source); }