-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from jamezp/proposed-refactor
Move core some core components to the ext module
- Loading branch information
Showing
55 changed files
with
302 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 0 additions & 69 deletions
69
core/src/main/java/org/jboss/logmanager/LogContextSelectorService.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
core/src/main/java/org/jboss/logmanager/LoggingUncaughtExceptionHandler.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">James R. Perkins</a> | ||
*/ | ||
class StackTraceFormatter { | ||
public class StackTraceFormatter { | ||
private static final String CAUSED_BY_CAPTION = "Caused by: "; | ||
private static final String SUPPRESSED_CAPTION = "Suppressed: "; | ||
// Used to guard against reentry when attempting to guess the class name | ||
|
@@ -58,6 +58,17 @@ private StackTraceFormatter(final StringBuilder builder, final int suppressedDep | |
cache = extended ? new HashMap<String, String>() : null; | ||
} | ||
|
||
/** | ||
* Writes the stack trace into the builder. | ||
* | ||
* @param builder the string builder ot append the stack trace to | ||
* @param t the throwable to render | ||
* @param suppressedDepth the number of suppressed messages to include | ||
*/ | ||
public static void renderStackTrace(final StringBuilder builder, final Throwable t, final int suppressedDepth) { | ||
renderStackTrace(builder, t, false, suppressedDepth); | ||
} | ||
|
||
/** | ||
* Writes the stack trace into the builder. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
core/src/main/java/org/jboss/logmanager/handlers/FlushableCloseable.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.