zhaolei
2020-11-20 4a2e5b9a21940f11757be37d99f0944e240e908b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Prow.Logging</name>
    </assembly>
    <members>
        <member name="T:Prow.Logging.DBLogger">
            <summary>
            ILogger 数据库日志内部实现类
            </summary>
        </member>
        <member name="M:Prow.Logging.DBLogger.#ctor(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{System.Exception,System.Collections.Specialized.NameValueCollection})">
            <summary>
            默认构造函数
            </summary>
            <param name="services">IServiceCollection 实例</param>
            <param name="action">操作回调函数</param>
        </member>
        <member name="M:Prow.Logging.DBLogger.BeginScope``1(``0)">
            <summary>
            创建上下文作用域
            </summary>
            <typeparam name="TState"></typeparam>
            <param name="state"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.Logging.DBLogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
            <summary>
            判断当前 logLevel 是否开启日志
            </summary>
            <param name="logLevel">LogLevel 实例</param>
            <returns>开启日志时返回真</returns>
        </member>
        <member name="M:Prow.Logging.DBLogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
            <summary>
            写日志方法
            </summary>
            <typeparam name="TState">泛型类型</typeparam>
            <param name="logLevel">LogLevel 实例</param>
            <param name="eventId">eventId 实例</param>
            <param name="state">TState 实例</param>
            <param name="exception">Exception 实例</param>
            <param name="formatter">格式化方法回调函数</param>
        </member>
        <member name="T:Prow.Logging.DBLoggerProvider">
            <summary>
            ILoggerProvider 数据库日志提供者实现类
            </summary>
        </member>
        <member name="M:Prow.Logging.DBLoggerProvider.#ctor(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{System.Exception,System.Collections.Specialized.NameValueCollection})">
            <summary>
            默认构造函数
            </summary>
            <param name="services">IServiceCollection 实例</param>
            <param name="action">异常记录操作回调函数</param>
        </member>
        <member name="M:Prow.Logging.DBLoggerProvider.CreateLogger(System.String)">
            <summary>
            创建 ILogger 实例
            </summary>
            <param name="categoryName">分类名称</param>
            <returns>ILogger 实例</returns>
        </member>
        <member name="M:Prow.Logging.DBLoggerProvider.Dispose(System.Boolean)">
            <summary>
            Dispose
            </summary>
            <param name="disposing"></param>
        </member>
        <member name="M:Prow.Logging.DBLoggerProvider.Dispose">
            <summary>
            Dispose 方法
            </summary>
        </member>
        <member name="T:Prow.Logging.ExceptionManager">
            <summary>
            异常管理操作类
            </summary>
        </member>
        <member name="M:Prow.Logging.ExceptionManager.RegisterExceptionManager(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
            <summary>
            异常日志注入时调用
            </summary>
            <param name="services">IServiceCollection 实例</param>
        </member>
        <member name="M:Prow.Logging.ExceptionManager.Publish(System.Exception,System.Collections.Specialized.NameValueCollection)">
            <summary>
            记录日志方法
            </summary>
            <param name="ex">Exception 实例</param>
            <param name="nv">日志附属信息</param>
        </member>
        <member name="T:Prow.Logging.FileLoggerOptions">
            <summary>
            文件日志配置类
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.IncludeScopes">
            <summary>
            获得/设置 是否开启上下文作用域功能 默认为 true 启用
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.FileName">
            <summary>
            获得/设置 日志文件名 默认为 Logs\\Log.log 文件名追加日期
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.MaxFileCount">
            <summary>
            获得/设置 日志文件保留最多个数 默认为 7 个
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.Batch">
            <summary>
            获得/设置 是否开启批次写入功能 默认为 true 开启
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.BatchCount">
            <summary>
            获得/设置 批次写入时间间隔 默认 1000 毫秒
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.Interval">
            <summary>
            获得/设置 批次写入时间间隔 默认为 5000 毫秒
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerOptions.TaskWaitTime">
            <summary>
            获得/设置 实例销毁时日志任务等待时间 默认为 2 秒
            </summary>
        </member>
        <member name="T:Prow.Logging.FileLoggerProvider">
            <summary>
            日志文件操作类,内部使用单件模式,所以只能记录在一个文件中
            </summary>
        </member>
        <member name="M:Prow.Logging.FileLoggerProvider.#ctor(Prow.Logging.FileLoggerOptions,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
            <summary>
            默认构造函数
            </summary>
            <param name="options">IFileLoggerOptions 实例</param>
            <param name="filter">日志过滤回调函数</param>
        </member>
        <member name="M:Prow.Logging.FileLoggerProvider.#ctor(Microsoft.Extensions.Options.IOptionsMonitor{Prow.Logging.FileLoggerOptions},Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            通过注入方式监听配置文件初始化 FileProvider,此构造函数被 IoC 调用
            </summary>
            <param name="options"></param>
            <param name="configuration"></param>
        </member>
        <member name="M:Prow.Logging.FileLoggerProvider.CreateLogger(System.String)">
             <summary>
            创建 ILogger 实例方法
             </summary>
             <param name="categoryName">分类名称</param>
             <returns>ILogger 实例</returns>
        </member>
        <member name="M:Prow.Logging.FileLoggerProvider.Flush">
            <summary>
            强制输出日志到文件中
            </summary>
        </member>
        <member name="M:Prow.Logging.FileLoggerProvider.Dispose(System.Boolean)">
            <summary>
            Dispose 方法
            </summary>
            <param name="disposing"></param>
        </member>
        <member name="T:Prow.Logging.FileLoggerWriter">
            <summary>
            日志文件内部操作类
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerWriter.Option">
            <summary>
            获得/设置 日志配置项 FileLoggerOptions 实例
            </summary>
        </member>
        <member name="M:Prow.Logging.FileLoggerWriter.#ctor(Prow.Logging.FileLoggerOptions)">
            <summary>
            默认构造函数
            </summary>
            <param name="option">日志配置项 FileLoggerOptions 实例</param>
        </member>
        <member name="M:Prow.Logging.FileLoggerWriter.WriteMessage(System.String)">
            <summary>
            写消息操作
            </summary>
            <param name="message">日志消息内容</param>
        </member>
        <member name="M:Prow.Logging.FileLoggerWriter.Flush">
            <summary>
            强制输出到日志文件中
            </summary>
        </member>
        <member name="M:Prow.Logging.FileLoggerWriter.Dispose">
            <summary>
            Dispose 方法
            </summary>
        </member>
        <member name="M:Prow.Logging.FileLoggerWriter.Dispose(System.Boolean)">
            <summary>
            Dispose 重载方法
            </summary>
            <param name="disposing"></param>
        </member>
        <member name="P:Prow.Logging.FileLoggerWriter.LogMessage.Timestamp">
            <summary>
            时间戳
            </summary>
        </member>
        <member name="P:Prow.Logging.FileLoggerWriter.LogMessage.Message">
            <summary>
            消息体
            </summary>
        </member>
        <member name="T:Prow.Logging.LoggerProviderConfigureOptions`2">
            <summary>
            日志配置辅助类
            </summary>
            <typeparam name="TOptions"></typeparam>
            <typeparam name="TProvider"></typeparam>
        </member>
        <member name="M:Prow.Logging.LoggerProviderConfigureOptions`2.#ctor(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration{`1})">
            <summary>
            默认构造函数
            </summary>
            <param name="providerConfiguration"></param>
        </member>
        <member name="T:Prow.Logging.Logger">
            <summary>
            
            </summary>
        </member>
        <member name="P:Prow.Logging.Logger.LogCallback">
            <summary>
            
            </summary>
        </member>
        <member name="P:Prow.Logging.Logger.Name">
            <summary>
            
            </summary>
        </member>
        <member name="P:Prow.Logging.Logger.Filter">
            <summary>
            
            </summary>
        </member>
        <member name="M:Prow.Logging.Logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
            <summary>
            判断当前 logLevel 是否开启日志
            </summary>
            <param name="logLevel">LogLevel 实例</param>
            <returns>开启日志时返回真</returns>
        </member>
        <member name="M:Prow.Logging.Logger.#ctor(System.String,System.Action{System.String},System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean},Microsoft.Extensions.Logging.IExternalScopeProvider,Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            
            </summary>
            <param name="name"></param>
            <param name="logCallback"></param>
            <param name="filter"></param>
            <param name="scopeProvider"></param>
            <param name="config"></param>
        </member>
        <member name="P:Prow.Logging.Logger.Configuration">
            <summary>
            获得/设置 IConfiguration 实例
            </summary>
        </member>
        <member name="P:Prow.Logging.Logger.ScopeProvider">
            <summary>
            获得/设置 IExternalScopeProvider 实例
            </summary>
        </member>
        <member name="M:Prow.Logging.Logger.BeginScope``1(``0)">
            <summary>
            开始创建日志上下文作用域
            </summary>
            <typeparam name="TState"></typeparam>
            <param name="state"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.Logging.Logger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
            <summary>
            写日志方法
            </summary>
            <typeparam name="TState">泛型类型</typeparam>
            <param name="logLevel">LogLevel 实例</param>
            <param name="eventId">eventId 实例</param>
            <param name="state">TState 实例</param>
            <param name="exception">Exception 实例</param>
            <param name="formatter">格式化方法回调函数</param>
        </member>
        <member name="T:Prow.Logging.LoggerProvider">
            <summary>
            后台服务管理日志操作类
            </summary>
        </member>
        <member name="P:Prow.Logging.LoggerProvider.LogCallback">
            <summary>
            获得/设置 日志回掉方法
            </summary>
        </member>
        <member name="P:Prow.Logging.LoggerProvider.Filter">
            <summary>
            获得/设置 日志过滤器
            </summary>
        </member>
        <member name="P:Prow.Logging.LoggerProvider.Configuration">
            <summary>
            获得/设置  IConfiguration 实例
            </summary>
        </member>
        <member name="M:Prow.Logging.LoggerProvider.#ctor(System.Action{System.String},System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean},Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            构造函数
            </summary>
            <param name="logCallback"></param>
            <param name="filter"></param>
            <param name="config"></param>
        </member>
        <member name="M:Prow.Logging.LoggerProvider.CreateLogger(System.String)">
            <summary>
            创建 ILogger 实例方法
            </summary>
            <param name="categoryName"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.Logging.LoggerProvider.CreateLogger``1">
            <summary>
            创建 ILogger 实例方法
            </summary>
            <typeparam name="T"></typeparam>
            <returns></returns>
        </member>
        <member name="M:Prow.Logging.LoggerProvider.Dispose(System.Boolean)">
            <summary>
            Dispose
            </summary>
            <param name="disposing"></param>
        </member>
        <member name="M:Prow.Logging.LoggerProvider.Dispose">
            <summary>
            Dispose 方法
            </summary>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.DBLoggerFactoryExtensions">
            <summary>
            数据库日志配置服务注入方法扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.DBLoggerFactoryExtensions.AddDBLogger(Microsoft.Extensions.Logging.ILoggingBuilder,System.Action{System.Exception,System.Collections.Specialized.NameValueCollection})">
            <summary>
            添加文件日志功能到服务容器中
            </summary>
            <param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to use.</param>
            <param name="action">日志操作类回调方法,使用者在此回调中将异常记录到数据库中</param>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.FileLoggerFactoryExtensions">
            <summary>
            文本日志配置服务注入方法扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.FileLoggerFactoryExtensions.AddFileLogger(Microsoft.Extensions.Logging.ILoggingBuilder,System.Action{Prow.Logging.FileLoggerOptions})">
            <summary>
            添加文件日志功能到服务容器中
            </summary>
            <param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to use.</param>
            <param name="configure"></param>
        </member>
        <member name="T:Microsoft.Extensions.Logging.NullScope">
            <summary>
            An empty scope without any logic
            </summary>
        </member>
        <member name="P:Microsoft.Extensions.Logging.NullScope.Instance">
            <summary>
            默认 实例
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.Logging.NullScope.Dispose">
            <summary>
            释放资源方法
            </summary>
        </member>
        <member name="T:System.ExceptionExtensions">
            <summary>
            异常记录日志操作扩展类
            </summary>
        </member>
        <member name="M:System.ExceptionExtensions.Log(System.Exception,System.Collections.Specialized.NameValueCollection)">
            <summary>
            异常写入日志方法 内部调用 ExceptionManager.Publish (NETCore) 调用 InternalEventLogWriter (NET Framework)
            </summary>
            <param name="ex">Exception 实例</param>
            <param name="nv">日志附属信息</param>
        </member>
        <member name="T:System.FormatExceptionExtensions">
            <summary>
            格式化异常方法扩展类
            </summary>
        </member>
        <member name="M:System.FormatExceptionExtensions.FormatException(System.Exception,System.Collections.Specialized.NameValueCollection)">
            <summary>
            格式化异常方法
            </summary>
            <param name="ex">Exception 实例</param>
            <param name="nv">Exception 附加信息集合</param>
            <returns></returns>
        </member>
        <member name="T:System.Net.InternalIPAddressExtensions">
            <summary>
            IPAddress 内部操作扩展类
            </summary>
        </member>
        <member name="M:System.Net.InternalIPAddressExtensions.ToIPv4String(System.Net.IPAddress)">
            <summary>
            
            </summary>
            <param name="address"></param>
            <returns></returns>
        </member>
        <member name="M:System.OSPlatformPathExtenstions.GetOSPlatformPath(System.String)">
            <summary>
            获得 当前操作系统目录分隔符的路径
            </summary>
            <param name="originalString">原始路径字符串</param>
            <returns></returns>
        </member>
    </members>
</doc>