PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace / Console­Logging­Backend­Options Class / Console­Logging­Backend­Options Properties / Console­Logging­Backend­Options.​Timestamp­Format Property

ConsoleLoggingBackendOptions.TimestampFormat Property

Gets or sets the formatting string used to render a value of the DateTimeOffset type when the IncludeTimestamp property is set to true. The default value is null.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public string TimestampFormat { get; set; }

Property Value

Type: String
See Also