Skip to content

Commit

Permalink
Merge remote-tracking branch 'bertm/remove-logger-fatal' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Nov 30, 2024
2 parents 8b01ee9 + f75e23b commit 28bd779
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/freenet/support/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -619,17 +619,6 @@ public void shouldUpdate() {

registerLogThresholdCallback(ltc);
}

/**
* Report a fatal error and exit.
* @param cause the object or class involved
* @param retcode the return code
* @param message the reason why
*/
public static void fatal(Object cause, int retcode, String message) {
error(cause, message);
System.exit(retcode);
}

/** Add a logger hook to the global logger hook chain. Messages which
* are not filtered out by the global logger hook chain's thresholds
Expand Down

0 comments on commit 28bd779

Please sign in to comment.