RuntimeDialect
public final class LegacyJavaRuntime extends Object implements RuntimeDialect
Constructor | Description |
---|---|
LegacyJavaRuntime() |
Modifier and Type | Method | Description |
---|---|---|
String |
getClassName(int depth) |
Get a specific fully-qualified class name from current stack trace.
|
String |
getProcessId() |
Get the ID of the current process (pid).
|
StackTraceElement |
getStackTraceElement(int depth) |
Get a specific stack trace element from current stack trace.
|
public String getProcessId()
RuntimeDialect
getProcessId
in interface RuntimeDialect
public String getClassName(int depth)
RuntimeDialect
getClassName
in interface RuntimeDialect
depth
- Position of stack trace elementpublic StackTraceElement getStackTraceElement(int depth)
RuntimeDialect
getStackTraceElement
in interface RuntimeDialect
depth
- Position of stack trace elementCopyright © 2019. All rights reserved.