AICORE-UsageLibrary 0.1.30-g4f23d3e31a

What is this repository for?

  • Quick summary:
    This is a package that can be included in an ASP.NET API that lets you send messages to the AICORE logging APIs with simple functions like _logger.LogInformation Added to your controllers via dependency injection by adding this to your startup.cs:
builder.Host.ConfigureLogging((context, logBuilder) => {
    logBuilder.ClearProviders().AddUsageLogger(options => context.Configuration.GetSection("Logging").Bind(options));
});

How do I get set up?

  • Configuration: Set up a key in your appsettings similar to this one:
"Logging": {
	"Server": "aicoreio",
	"Application": "ExecuteCMD",
	"UsageUrl": "https://aicoreio.coredata.ca/Usage/Usage",
	"SlackUrl": "https://aicoreio.coredata.ca/SendToSlack",
	"LogLevel": {
		"Default": "Information",
		"Microsoft": "Warning",
		"Microsoft.Hosting.Lifetime": "Warning"
	}
}

Contribution guidelines

  • Writing tests: future: xUnit Tests
  • Code review: Jira, with minimum 1 reviewer
  • Other guidelines: n/a

Who do I talk to?

  • Repo owner or admin: Victor Lee
  • Other community or team contact: Rafik Belhaouas, Marc Weber

Showing the top 20 packages that depend on AICORE-UsageLibrary.

Packages Downloads
LibAICORE
Package Description
1
LibAICORE
Package Description
0

Version Downloads Last updated
0.1.37-g16982399da 5 10/24/2024
0.1.34-gac5d11e203 5 06/20/2024
0.1.31-ged514fc169 3 06/14/2024
0.1.30-g4f23d3e31a 6 06/08/2024
0.1.29-g1645d34296 2 05/30/2024
0.1.24-g8d246b44c8 6 02/24/2024
0.1.23-gdd17009643 3 02/23/2024
0.1.22-g4942db9b75 5 02/22/2024
0.1.17-g7092eb2a2e 5 02/21/2024
0.1.16-g92da98dfe3 1 02/21/2024
0.1.14-ge0b9c38072 1 02/21/2024
0.1.13-g66b5b3e75b 1 02/21/2024
0.1.2-g7dca9bfde2 4 02/20/2024