add logprovider
This commit is contained in:
parent
eea1bd2177
commit
0ad1d214ba
@ -18,6 +18,8 @@ Public Class Scheduler
|
||||
MyBase.New(pLogConfig)
|
||||
ConnectionString = pConnectionString
|
||||
LicenseKey = pLicenseKey
|
||||
|
||||
Logging.LogProvider.SetCurrentLogProvider(New LogProvider(Logger))
|
||||
End Sub
|
||||
|
||||
Public Async Function Start(pInterval As Integer) As Task
|
||||
@ -49,6 +51,7 @@ Public Class Scheduler
|
||||
WithSimpleSchedule(Sub(s) s.
|
||||
RepeatForever().
|
||||
WithIntervalInMinutes(pInterval)).
|
||||
StartNow().
|
||||
Build()
|
||||
|
||||
Logger.Debug("Initialized Trigger")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user