(MVC) MVC (2017)

ILogger (повернутися на головну сторінку проєкту)

ILigger.vb - загальний інтерфейс логерів, як налаштовуються конфігом стандартні логери у NET почитайте наприклад ось тут.



   1:  Namespace Log1
   2:   
   3:      Interface ILogger
   4:          Sub Information(ByVal message As String)
   5:          Sub Information(ByVal fmt As String, ParamArray vars As Object())
   6:          Sub Information(ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
   7:          Sub Warning(ByVal message As String)
   8:          Sub Warning(ByVal fmt As String, ParamArray vars As Object())
   9:          Sub Warning(ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
  10:          Sub [Error](ByVal message As String)
  11:          Sub [Error](ByVal fmt As String, ParamArray vars As Object())
  12:          Sub [Error](ByVal exception As Exception, ByVal fmt As String, ParamArray vars As Object())
  13:          Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan)
  14:          Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan, ByVal properties As String)
  15:          Sub TraceApi(ByVal componentName As String, ByVal method As String, ByVal timespan As TimeSpan, ByVal fmt As String, ParamArray vars As Object())
  16:      End Interface
  17:   
  18:  End Namespace


Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21
Link to this page: //www.vb-net.com/EF-missing-FAQ/ILogger.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>