Share via


W3CLoggerOptions.LogDirectory Property

Definition

Gets or sets a string representing the directory where the log file will be written to. Defaults to ./logs/ relative to the app directory (ContentRoot). If a full path is given, that full path will be used. If a relative path is given, the full path will be that path relative to ContentRoot.

public string LogDirectory { get; set; }
member this.LogDirectory : string with get, set
Public Property LogDirectory As String

Property Value

Applies to