• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.Log
    • AbstractLogger
    • ILogger
    • ILoggerConfiguration
    • LoggerMapper
    • LogInfo
    • LogInfoExtensions
    • LogLevels
    • LogSettings
    • LogSource
    • LogSourceExtensions
    • NullLogger
  • Dapplo.Log.LogFile
    • FileLogger
    • ForwardingLogger
    • IFileLoggerConfiguration
  • Dapplo.Log.Loggers
    • ColorConsoleLogger
    • ConsoleLogger
    • DebugLogger
    • StringWriterLogger
    • TraceLogger
  • Dapplo.Log.XUnit
    • XUnitLogger

Interface IFileLoggerConfiguration

Interface for the logfile configuration

Inherited Members
ILoggerConfiguration.LogLevel
ILoggerConfiguration.UseShortSource
ILoggerConfiguration.DateTimeFormat
ILoggerConfiguration.LogLineFormat
Namespace:Dapplo.Log.LogFile
Assembly:Dapplo.Log.LogFile.dll
Syntax
public interface IFileLoggerConfiguration : ILoggerConfiguration

Properties

| Improve this Doc View Source

ArchiveCompress

Compress the archive

Declaration
bool ArchiveCompress { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ArchiveCount

The amount of archived files which are allowed. The oldest is removed.

Declaration
int ArchiveCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ArchiveDirectoryPath

The path of the archived file

Declaration
string ArchiveDirectoryPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ArchiveExtension

The extension of archived file, default this is .log.gz

Declaration
string ArchiveExtension { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ArchiveFilenamePattern

Change the format for the archived filename

Declaration
string ArchiveFilenamePattern { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ArchiveHistory

The history of archived files, this could e.g. be stored in a configuration

Declaration
IList<string> ArchiveHistory { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
| Improve this Doc View Source

DirectoryPath

Change the format for the filename, the possible arguments are documented in the . Environment variablen are also expanded.

Declaration
string DirectoryPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Extension

The extension of log file, default this is ".log"

Declaration
string Extension { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FilenamePattern

Change the format for the filename, as soon as the filename changes, the previous is archived.

Declaration
string FilenamePattern { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MaxBufferSize

Limit the internal stringbuilder size,

Declaration
int MaxBufferSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Preformat

Setting this to true will format the message in the context of the write call. If this is set to false, the default, the formatting is done when writing to the file. First makes the call slower, last could introduce problems with UI owned objects.

Declaration
bool Preformat { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Processname

Name of the application, if null it will be created

Declaration
string Processname { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WriteInterval

Specify how long the background task can wait until it starts writing log entries

Declaration
int WriteInterval { get; set; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Dapplo