Skip to content

Commit

Permalink
Extract SherlogAssertException to file
Browse files Browse the repository at this point in the history
  • Loading branch information
sschmid committed Nov 14, 2022
1 parent aa84047 commit deac020
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Sherlog/Logger.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Sherlog
{
public delegate void LogDelegate(Logger logger, LogLevel logLevel, string message);
Expand Down Expand Up @@ -38,9 +36,4 @@ void Log(LogLevel logLvl, string message)

public void Reset() => OnLog = null;
}

public class SherlogAssertException : Exception
{
public SherlogAssertException(string message) : base(message) { }
}
}
9 changes: 9 additions & 0 deletions src/Sherlog/SherlogAssertException.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using System;

namespace Sherlog
{
public class SherlogAssertException : Exception
{
public SherlogAssertException(string message) : base(message) { }
}
}

0 comments on commit deac020

Please sign in to comment.