<<назад Ilogger.vb (Contoso University).
1: Imports Microsoft.VisualBasic
2: Imports System
3:
4: Namespace Log1
5:
6: Interface ILogger
7: Sub Information(ByVal message As String)
8: Sub Information(ByVal fmt As String, ParamArray vars As Object())
9: Sub Information(ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
10: Sub Warning(ByVal message As String)
11: Sub Warning(ByVal fmt As String, ParamArray vars As Object())
12: Sub Warning(ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
13: Sub [Error](ByVal message As String)
14: Sub [Error](ByVal fmt As String, ParamArray vars As Object())
15: Sub [Error](ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
16: Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan)
17: Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan, ByVal properties As String)
18: Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan, ByVal fmt As String, ParamArray vars As Object())
19: End Interface
20:
21: End Namespace
22:
Comments (
)
Link to this page:
//www.vb-net.com/EF-missing-FAQ/Code/Ilogger.vb.htm
|