The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
435 B

using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using Teknik.Configuration;
namespace Teknik.Logging
{
public static class LoggerExtensions
{
public static ILoggerFactory AddLogger(this ILoggerFactory loggerFactory, Config config)
{
loggerFactory.AddProvider(new LoggerProvider(config));
return loggerFactory;
}
}
}