You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: src/Microsoft.Extensions.Logging.Abstractions/ILoggerFactory.cs
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,9 @@ public interface ILoggerFactory : IDisposable
19
19
ILoggerCreateLogger(stringcategoryName);
20
20
21
21
/// <summary>
22
-
/// <para>
23
-
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddProvider() method on the Microsoft.Extensions.Logging.LoggerFactory instance.
24
-
/// </para>
25
22
/// Adds an <see cref="ILoggerProvider"/> to the logging system.
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddProvider() method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddAzureWebAppDiagnostics() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddAzureWebAppDiagnostics() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddAzureWebAppDiagnostics() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
/// <param name="settings">The setting object to configure loggers.</param>
60
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddAzureWebAppDiagnostics() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
25
-
/// </para>
26
61
/// Adds a console logger that is enabled for <see cref="LogLevel"/>.Information or higher.
27
62
/// </summary>
28
63
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
29
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
38
-
/// </para>
39
70
/// Adds a console logger that is enabled for <see cref="LogLevel"/>.Information or higher.
40
71
/// </summary>
41
72
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
42
73
/// <param name="includeScopes">A value which indicates whether log scope information should be displayed
43
74
/// in the output.</param>
44
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
54
-
/// </para>
55
82
/// Adds a console logger that is enabled for <see cref="LogLevel"/>s of minLevel or higher.
56
83
/// </summary>
57
84
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
58
85
/// <param name="minLevel">The minimum <see cref="LogLevel"/> to be logged</param>
59
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
69
-
/// </para>
70
93
/// Adds a console logger that is enabled for <see cref="LogLevel"/>s of minLevel or higher.
71
94
/// </summary>
72
95
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
73
96
/// <param name="minLevel">The minimum <see cref="LogLevel"/> to be logged</param>
74
97
/// <param name="includeScopes">A value which indicates whether log scope information should be displayed
75
98
/// in the output.</param>
76
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
77
99
publicstaticILoggerFactoryAddConsole(
78
100
thisILoggerFactoryfactory,
79
101
LogLevelminLevel,
@@ -84,14 +106,10 @@ public static ILoggerFactory AddConsole(
84
106
}
85
107
86
108
/// <summary>
87
-
/// <para>
88
-
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
89
-
/// </para>
90
109
/// Adds a console logger that is enabled as defined by the filter function.
91
110
/// </summary>
92
111
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
93
112
/// <param name="filter">The category filter to apply to logs.</param>
94
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
95
113
publicstaticILoggerFactoryAddConsole(
96
114
thisILoggerFactoryfactory,
97
115
Func<string,LogLevel,bool>filter)
@@ -101,16 +119,12 @@ public static ILoggerFactory AddConsole(
101
119
}
102
120
103
121
/// <summary>
104
-
/// <para>
105
-
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
106
-
/// </para>
107
122
/// Adds a console logger that is enabled as defined by the filter function.
108
123
/// </summary>
109
124
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
110
125
/// <param name="filter">The category filter to apply to logs.</param>
111
126
/// <param name="includeScopes">A value which indicates whether log scope information should be displayed
112
127
/// in the output.</param>
113
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
114
128
publicstaticILoggerFactoryAddConsole(
115
129
thisILoggerFactoryfactory,
116
130
Func<string,LogLevel,bool>filter,
@@ -122,14 +136,10 @@ public static ILoggerFactory AddConsole(
122
136
123
137
124
138
/// <summary>
125
-
/// <para>
126
-
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
127
-
/// </para>
128
139
/// </summary>
129
140
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
130
141
/// <param name="settings">The settings to apply to created <see cref="ConsoleLogger"/>'s.</param>
131
142
/// <returns></returns>
132
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
133
143
publicstaticILoggerFactoryAddConsole(
134
144
thisILoggerFactoryfactory,
135
145
IConsoleLoggerSettingssettings)
@@ -139,14 +149,10 @@ public static ILoggerFactory AddConsole(
139
149
}
140
150
141
151
/// <summary>
142
-
/// <para>
143
-
/// This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.
144
-
/// </para>
145
152
/// </summary>
146
153
/// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
147
154
/// <param name="configuration">The <see cref="IConfiguration"/> to use for <see cref="IConsoleLoggerSettings"/>.</param>
148
155
/// <returns></returns>
149
-
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is to call the Microsoft.Extensions.Logging.AddConsole() extension method on the Microsoft.Extensions.Logging.LoggerFactory instance.")]
0 commit comments