net11.0-windows7.0
namespace Microsoft.Extensions.Logging.Console
{
    public class ConsoleLoggerOptions
    {
        [Obsolete("ConsoleLoggerOptions.TimestampFormat has been deprecated. Use ConsoleFormatterOptions.TimestampFormat instead.")]
        public string? TimestampFormat { get; set; }
    }
}
Upgrade Planner
0.0 %
Reference this API
0.0 %
Set property
Design Reviews
.NET
5.06.07.08.09.010.011.0
.NET Core
2.02.12.23.03.1
.NET Framework
4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
2.02.1
Information specific to net11.0
Platforms This API is only available when you target a specific platform:
Windows
7.0
Information specific to net11.0-windows7.0
Assemblies

Microsoft.Extensions.Logging.Console , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60

Microsoft.Extensions.Logging.Console , Version=5.0.0.0, PublicKeyToken=adb9793829ddae60

Microsoft.Extensions.Logging.Console , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60

Microsoft.Extensions.Logging.Console , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs a package reference to Microsoft.AspNetCore.App.

  • Your project needs a package reference to Microsoft.Extensions.Internal.Transport.

  • Your project needs a package reference to Microsoft.Extensions.Logging.Console.

Package Microsoft.Extensions.Logging.Console (10.0.14) net9.0
Obsolete ConsoleLoggerOptions.TimestampFormat has been deprecated. Use ConsoleFormatterOptions.TimestampFormat instead.
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API