- Notifications
You must be signed in to change notification settings - Fork0
License
NotificationsYou must be signed in to change notification settings
meriturva/NLog.HangfireLayouts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Few hangfire layouts to use with NLog logging library
NLog.HangfireLayouts is available as a NuGet package. You can install it using the NuGet Package Console window:
PM> Install-Package Bonura.NLog.HangfireLayouts
First install and configure package:Hangfire.PerformContextAccessor
.
See:https://github.com/meriturva/Hangfire.PerformContextAccessor
After installation, update your NLog settings:
"NLog": {"extensions": [ {"assembly":"NLog.HangfireLayouts" } ]
hangfire-jobid
-> hangfire job id
A simple message layout with jobid
"targets": {"console": {"layout":"${longdate}|${level:uppercase=true}|${logger}|${message}|${hangfire-jobid}|${exception:format=toString}","type":"ColoredConsole" }}
About
No description, website, or topics provided.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.