Skip to content

Commit 760e976

Browse files
committed
make log manager class clear
1 parent 71f6466 commit 760e976

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace IPTables.Net
88
{
9-
public class LogManager
9+
public class IPTablesLogManager
1010
{
1111
public static ILogger Log { get; set; } = Logger.None;
1212

IPTables.Net/Iptables/Adapter/Client/Helper/IPTablesRestoreTableBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace IPTables.Net.Iptables.Adapter.Client.Helper
1010
{
1111
class IPTablesRestoreTableBuilder
1212
{
13-
protected static readonly ILogger Log = LogManager.GetLogger<IPTablesRestoreTableBuilder>();
13+
protected static readonly ILogger Log = IPTablesLogManager.GetLogger<IPTablesRestoreTableBuilder>();
1414

1515
private class Table
1616
{

IPTables.Net/Iptables/Adapter/Client/IpTablesAdapterClientBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace IPTables.Net.Iptables.Adapter.Client
1111
{
1212
abstract class IpTablesAdapterClientBase : INetfilterAdapterClient
1313
{
14-
protected static readonly ILogger Log = LogManager.GetLogger<INetfilterAdapterClient>();
14+
protected static readonly ILogger Log = IPTablesLogManager.GetLogger<INetfilterAdapterClient>();
1515

1616
public abstract void StartTransaction();
1717

IPTables.Net/Iptables/IpSet/Adapter/IpSetBinaryAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace IPTables.Net.Iptables.IpSet.Adapter
1414
public class IpSetBinaryAdapter
1515
{
1616
private const String BinaryName = "ipset";
17-
protected static readonly ILogger _log = LogManager.GetLogger<IpSetBinaryAdapter>();
17+
protected static readonly ILogger _log = IPTablesLogManager.GetLogger<IpSetBinaryAdapter>();
1818

1919
private readonly ISystemFactory _system;
2020

IPTables.Net/Iptables/RuleGenerator/MultiportAggregator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace IPTables.Net.Iptables.RuleGenerator
3232
/// <typeparam name="TKey"></typeparam>
3333
public class MultiportAggregator<TKey> : IRuleGenerator
3434
{
35-
protected static readonly ILogger Log = LogManager.GetLogger<MultiportAggregator<TKey>>();
35+
protected static readonly ILogger Log = IPTablesLogManager.GetLogger<MultiportAggregator<TKey>>();
3636
private String _chain;
3737
private String _table;
3838
private Dictionary<TKey, List<IpTablesRule>> _rules = new Dictionary<TKey, List<IpTablesRule>>();

0 commit comments

Comments
 (0)