Skip to content

Commit

Permalink
[Cleanup] Moving PJsonFormatter to PCheckerLogJsonFormatter and movin…
Browse files Browse the repository at this point in the history
…g PLogFormatter to PCheckerLogTextFormatter
  • Loading branch information
Christine Zhou committed Aug 21, 2024
1 parent 1825fe4 commit ddeb890
Show file tree
Hide file tree
Showing 7 changed files with 612 additions and 945 deletions.
519 changes: 0 additions & 519 deletions Src/PChecker/CheckerCore/PRuntime/PJsonFormatter.cs

This file was deleted.

215 changes: 0 additions & 215 deletions Src/PChecker/CheckerCore/PRuntime/PLogFormatter.cs

This file was deleted.

3 changes: 2 additions & 1 deletion Src/PChecker/CheckerCore/StateMachines/Logging/LogWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Linq;
using PChecker.StateMachines.Events;
using PChecker.IO.Logging;
using PChecker.PRuntime;

namespace PChecker.StateMachines.Logging
{
Expand Down Expand Up @@ -602,7 +603,7 @@ internal void RegisterLog(IStateMachineRuntimeLog log)
}
}

// If log is or of subclass PCheckerLogJsonFormatter (i.e. when log is PJsonFormatter),
// If log is or of subclass PCheckerLogJsonFormatter (i.e. when log is PCheckerLogJsonFormatter),
// update the Writer reference to the JsonLogger instance defined within LogWriter.cs
if (log is PCheckerLogJsonFormatter tempJsonFormatter)
{
Expand Down
Loading

0 comments on commit ddeb890

Please sign in to comment.