Skip to content

Commit

Permalink
LoggerSink: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Xian55 committed Dec 10, 2022
1 parent 9e50aa1 commit 5334911
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
11 changes: 1 addition & 10 deletions Core/Logging/LoggerSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Serilog.Configuration;
using Serilog.Core;
using Serilog.Events;

using System;

namespace Core
Expand All @@ -28,15 +29,5 @@ public void Emit(LogEvent logEvent)
Log[callCount++ % SIZE] = logEvent;
OnLogChanged?.Invoke();
}

public override bool Equals(object? obj)
{
return obj is LoggerSink;
}

public override int GetHashCode()
{
return 0;
}
}
}
10 changes: 0 additions & 10 deletions PathingAPI/PathingAPILoggerSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,5 @@ public void Emit(LogEvent logEvent)
{
OnLog?.Invoke(logEvent);
}

public override bool Equals(object obj)
{
return obj is PathingAPILoggerSink;
}

public override int GetHashCode()
{
return 0;
}
}
}

0 comments on commit 5334911

Please sign in to comment.