public final class LegacyJavaRuntime extends Object
Constructor and Description |
---|
LegacyJavaRuntime() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
createTimestamp() |
TimestampFormatter |
createTimestampFormatter(String pattern,
Locale locale) |
String |
getCallerClassName(int depth) |
String |
getCallerClassName(String loggerClassName) |
StackTraceElement |
getCallerStackTraceElement(int depth) |
StackTraceElement |
getCallerStackTraceElement(String loggerClassName) |
String |
getDefaultWriter()
Gets the name of the default writer.
|
long |
getProcessId() |
Timestamp |
getStartTime() |
boolean |
isAndroid() |
public boolean isAndroid()
public long getProcessId()
public Timestamp getStartTime()
@IgnoreJRERequirement public String getCallerClassName(int depth)
public StackTraceElement getCallerStackTraceElement(int depth)
public StackTraceElement getCallerStackTraceElement(String loggerClassName)
public Timestamp createTimestamp()
public TimestampFormatter createTimestampFormatter(String pattern, Locale locale)
public String getDefaultWriter()
Copyright © 2024. All rights reserved.