THLogging451 1.0.1.1
dotnet add package THLogging451 --version 1.0.1.1
NuGet\Install-Package THLogging451 -Version 1.0.1.1
<PackageReference Include="THLogging451" Version="1.0.1.1" />
paket add THLogging451 --version 1.0.1.1
#r "nuget: THLogging451, 1.0.1.1"
// Install THLogging451 as a Cake Addin #addin nuget:?package=THLogging451&version=1.0.1.1 // Install THLogging451 as a Cake Tool #tool nuget:?package=THLogging451&version=1.0.1.1
INTRODUCTION
This project is to standardize logging across all Team Health Applications. It utilizes NLog at the core.
GETTING STARTED
The main repository is located at https://teamhealth.visualstudio.com/Logging/_versionControl?path=%24%2FLogging%2FMain
The dev repository is not yet created.
- Installation process
- Get the latest from source control
- Restore nuget packages
- Software dependencies
- .NET core 2.0
- .NET 4.5.1
- .NET 4.6.1
- Latest releases
- 1.0.0.0 - 8/22/2018
- API references
- NONE
BUILD AND TEST
There are currently no unit tests
CONTRIBUTE
Ensure that the logger from NLog can be used with dependency injection. For dependency injection the THLogger GetLoggerInstance() has to use reflection to create a logger for the consuming class.
USAGE
.NET 4.5.1
1. All dependencies will be loaded with the THLogging.
2. Install THLogging 4.5.1 or 4.6.1 from nuget
3. Ensure the NLog.config file is placed at the root directory
4. Modify your config file
a. Change the {username} and {password} for the database target.
b. Change the {applicationName} in the command text to your application.
5. Register the ITHLogger to the ITHLogger
6. Call the logger's LogInstance to log all levels of messages.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- NLog (>= 4.5.8)
- System.Data.SqlClient (>= 4.5.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|