mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Renamed SubsonicTarget to DataBaseTarget
This commit is contained in:
parent
5acfce2cc7
commit
7d706a3304
6 changed files with 10 additions and 10 deletions
|
@ -7,11 +7,11 @@ using PetaPoco;
|
|||
namespace NzbDrone.Core.Instrumentation
|
||||
{
|
||||
|
||||
public class SubsonicTarget : Target
|
||||
public class DatabaseTarget : Target
|
||||
{
|
||||
private readonly IDatabase _database;
|
||||
|
||||
public SubsonicTarget(IDatabase database)
|
||||
public DatabaseTarget(IDatabase database)
|
||||
{
|
||||
_database = database;
|
||||
}
|
|
@ -29,7 +29,7 @@ namespace NzbDrone.Core.Instrumentation
|
|||
LogManager.Configuration.AddTarget("Exceptioneer", exTarget);
|
||||
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Error, exTarget));
|
||||
#endif
|
||||
var sonicTarget = CentralDispatch.NinjectKernel.Get<SubsonicTarget>();
|
||||
var sonicTarget = CentralDispatch.NinjectKernel.Get<DatabaseTarget>();
|
||||
LogManager.Configuration.AddTarget("DbLogger", sonicTarget);
|
||||
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Debug, sonicTarget));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue