diff --git a/Service.JobRunner/JobRunner.vb b/Service.JobRunner/JobRunner.vb index 72637de0..93ed80c0 100644 --- a/Service.JobRunner/JobRunner.vb +++ b/Service.JobRunner/JobRunner.vb @@ -130,6 +130,8 @@ Public Class JobRunner _Logger = Logger End Sub + + Private Function GetLogger(name As String) As Logging.Logger Implements ILogProvider.GetLogger Return Function(level, func, exception, parameters) If exception IsNot Nothing Then @@ -149,7 +151,7 @@ Public Class JobRunner Throw New NotImplementedException() End Function - Private Function OpenMappedContext(key As String, value As String) As IDisposable Implements ILogProvider.OpenMappedContext + Public Function OpenMappedContext(key As String, value As Object, Optional destructure As Boolean = False) As IDisposable Implements ILogProvider.OpenMappedContext _Logger.Warn("OpenMappedContext is not implemented") Throw New NotImplementedException() End Function diff --git a/Service.JobRunner/JobRunner.vbproj b/Service.JobRunner/JobRunner.vbproj index 98c31c5b..2a9edc6c 100644 --- a/Service.JobRunner/JobRunner.vbproj +++ b/Service.JobRunner/JobRunner.vbproj @@ -51,11 +51,14 @@ + + ..\packages\Microsoft.Extensions.Logging.Abstractions.2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll + ..\packages\NLog.4.7.5\lib\net45\NLog.dll - - ..\packages\Quartz.3.0.7\lib\net452\Quartz.dll + + ..\packages\Quartz.3.3.2\lib\net461\Quartz.dll diff --git a/Service.JobRunner/packages.config b/Service.JobRunner/packages.config index 01a189b1..fe5d07b1 100644 --- a/Service.JobRunner/packages.config +++ b/Service.JobRunner/packages.config @@ -1,5 +1,6 @@  + - + \ No newline at end of file