Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- appendTimestamp(String) - Static method in class org.debugtrace.DebugTrace
-
Append a timestamp to the head of the string.
This method is used internally.
B
- BooleanSupplier - Interface in org.debugtrace.helper
-
Supplier of a boolean value.
- byteArrayLimit - Static variable in class org.debugtrace.DebugTrace
- byteArrayLimit - Variable in class org.debugtrace.LogOptions
-
The limit value of elements for byte array (byte[]) to output
C
- classBoundaryFormat - Static variable in class org.debugtrace.DebugTrace
- collectionLimit - Static variable in class org.debugtrace.DebugTrace
- collectionLimit - Variable in class org.debugtrace.LogOptions
-
The limit value of elements for collection and map to output
- CR - Enum constant in enum class org.debugtrace.LineSeparator
- CRLF - Enum constant in enum class org.debugtrace.LineSeparator
- cyclicReferenceString - Static variable in class org.debugtrace.DebugTrace
D
- dataIndentString - Static variable in class org.debugtrace.DebugTrace
- DebugTrace - Class in org.debugtrace
-
Contains the main static methods of DebugTrace.
- defaultPackage - Static variable in class org.debugtrace.DebugTrace
- defaultPackageString - Static variable in class org.debugtrace.DebugTrace
- defaultResourceBundle() - Method in class org.debugtrace.helper.Resource
-
Returns the default locale ResourceBundle.
- DoubleSupplier - Interface in org.debugtrace.helper
-
Supplier of a double value.
E
- enter() - Static method in class org.debugtrace.DebugTrace
-
Call this method at entrance of your methods.
- enterFormat - Static variable in class org.debugtrace.DebugTrace
- Err() - Constructor for class org.debugtrace.logger.Std.Err
F
- File - Class in org.debugtrace.logger
-
A logger that outputs directly to a file.
- File(File, Charset, LineSeparator, boolean) - Constructor for class org.debugtrace.logger.File
-
Constructs a org.debugtrace.logger.File.
G
- get() - Method in interface org.debugtrace.helper.Supplier
- getAsBoolean() - Method in interface org.debugtrace.helper.BooleanSupplier
- getAsDouble() - Method in interface org.debugtrace.helper.DoubleSupplier
- getAsInt() - Method in interface org.debugtrace.helper.IntSupplier
- getAsLong() - Method in interface org.debugtrace.helper.LongSupplier
- getInt(String, int) - Method in class org.debugtrace.helper.Resource
-
Returns the int value of resource property.
- getIntegerKeyMap(String) - Method in class org.debugtrace.helper.Resource
-
Returns a map (key: Integer, value: String) created from the resource property value if it is found, an empty map otherwise.
- getLastLog() - Static method in class org.debugtrace.DebugTrace
-
Returns the last log string output.
- getList(String, Function<String, E>) - Method in class org.debugtrace.helper.Resource
-
Returns a list created from the resource property value if it is found, an empty list otherwise.
- getMap(String, Function<String, K>, Function<String, V>) - Method in class org.debugtrace.helper.Resource
-
Returns a map created from the resource property value if it is found, an empty map otherwise.
- getSet(String, Function<String, E>) - Method in class org.debugtrace.helper.Resource
-
Returns a set created from the resource property value if it is found, an empty set otherwise.
- getString(String, String) - Method in class org.debugtrace.helper.Resource
-
Returns the string of resource property.
- getStringKeyMap(String) - Method in class org.debugtrace.helper.Resource
-
Returns a map (key: String, value: String) created from the resource property value if it is found, an empty map otherwise.
- getStrings(String) - Method in class org.debugtrace.helper.Resource
-
Returns a string list created from the resource property value if it is found, an empty list otherwise.
- getStringSet(String) - Method in class org.debugtrace.helper.Resource
-
Returns a string set created from the resource property value if it is found, an empty set otherwise.
- getValue(String, Function<String, V>, V) - Method in class org.debugtrace.helper.Resource
-
Returns the value of resource property.
I
- indentString - Static variable in class org.debugtrace.DebugTrace
- initClass() - Static method in class org.debugtrace.DebugTrace
-
Initializes this class.
- initClass(String) - Static method in class org.debugtrace.DebugTrace
-
Initializes this class.
- instantFormat - Static variable in class org.debugtrace.DebugTrace
- IntSupplier - Interface in org.debugtrace.helper
-
Supplier of an int value.
- isEnabled() - Static method in class org.debugtrace.DebugTrace
-
Returns whether tracing is enabled.
- isEnabled() - Method in class org.debugtrace.logger.Jdk
-
Returns whether logging is enabled.
- isEnabled() - Method in class org.debugtrace.logger.Log4j
-
Returns whether logging is enabled.
- isEnabled() - Method in class org.debugtrace.logger.Log4j2
-
Returns whether logging is enabled.
- isEnabled() - Method in interface org.debugtrace.logger.Logger
-
Returns whether logging is enabled.
- isEnabled() - Method in class org.debugtrace.logger.SLF4J
-
Returns whether logging is enabled.
J
- Jdk - Class in org.debugtrace.logger
-
A logger using JDK Logger.
- Jdk() - Constructor for class org.debugtrace.logger.Jdk
-
Construct a Jdk.
K
- keyValueSeparator - Static variable in class org.debugtrace.DebugTrace
L
- leave() - Static method in class org.debugtrace.DebugTrace
-
Call this method at exit of your methods.
- leaveFormat - Static variable in class org.debugtrace.DebugTrace
- lengthFormat - Static variable in class org.debugtrace.DebugTrace
- LF - Enum constant in enum class org.debugtrace.LineSeparator
- limitString - Static variable in class org.debugtrace.DebugTrace
- LineSeparator - Enum Class in org.debugtrace
-
Line Separator
- localDateFormat - Static variable in class org.debugtrace.DebugTrace
- localDateTimeFormat - Static variable in class org.debugtrace.DebugTrace
- localTimeFormat - Static variable in class org.debugtrace.DebugTrace
- log(String) - Method in class org.debugtrace.logger.File
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.Jdk
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.Log4j
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.Log4j2
-
Output the message to the log.
- log(String) - Method in interface org.debugtrace.logger.Logger
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.SLF4J
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.Std.Err
-
Output the message to the log.
- log(String) - Method in class org.debugtrace.logger.Std.Out
-
Output the message to the log.
- Log4j - Class in org.debugtrace.logger
-
A logger using Log4J.
- Log4j() - Constructor for class org.debugtrace.logger.Log4j
-
Construct a Log4j.
- Log4j2 - Class in org.debugtrace.logger
-
A logger using Log4J2.
- Log4j2() - Constructor for class org.debugtrace.logger.Log4j2
-
Construct a Log4j2.
- logDateTimeFormat - Static variable in class org.debugtrace.DebugTrace
- Logger - Interface in org.debugtrace.logger
-
Interface of Logger classes.
- LogOptions - Class in org.debugtrace
-
Holds options to pass to print methods.
- LogOptions() - Constructor for class org.debugtrace.LogOptions
-
Constructs a LogOptions.
- LongSupplier - Interface in org.debugtrace.helper
-
Supplier of an long value.
M
- mapNameMap - Static variable in class org.debugtrace.DebugTrace
- maximumDataOutputWidth - Static variable in class org.debugtrace.DebugTrace
- minimumOutputLength - Static variable in class org.debugtrace.DebugTrace
- minimumOutputLength - Variable in class org.debugtrace.LogOptions
-
The minimum value to output the length of string
- minimumOutputSize - Static variable in class org.debugtrace.DebugTrace
- minimumOutputSize - Variable in class org.debugtrace.LogOptions
-
The minimum value to output the number of elements of array, collection and map
N
- nonOutputProperties - Static variable in class org.debugtrace.DebugTrace
- nonOutputString - Static variable in class org.debugtrace.DebugTrace
- nonReflectionClasses - Static variable in class org.debugtrace.DebugTrace
- normalize() - Method in class org.debugtrace.LogOptions
-
Normalizes each field of this.
O
- of(T1) - Static method in interface org.debugtrace.helper.Tuple
-
Returns a tuple containing 1 element.
- of(T1, T2) - Static method in interface org.debugtrace.helper.Tuple
-
Returns a tuple containing 2 elements.
- of(T1, T2, T3) - Static method in interface org.debugtrace.helper.Tuple
-
Returns a tuple containing 3 elements.
- of(T1, T2, T3, T4) - Static method in interface org.debugtrace.helper.Tuple
-
Returns a tuple containing 4 elements.
- offsetDateTimeFormat - Static variable in class org.debugtrace.DebugTrace
- offsetTimeFormat - Static variable in class org.debugtrace.DebugTrace
- org.debugtrace - package org.debugtrace
- org.debugtrace.helper - package org.debugtrace.helper
- org.debugtrace.logger - package org.debugtrace.logger
- Out() - Constructor for class org.debugtrace.logger.Std.Out
- outputLength - Static variable in class org.debugtrace.LogOptions
-
Output the length of string
- outputSize - Static variable in class org.debugtrace.LogOptions
-
Output the number of elements of array, collection and map
P
- parse(String) - Static method in enum class org.debugtrace.LineSeparator
- print(String) - Static method in class org.debugtrace.DebugTrace
-
Outputs the message to the log.
- print(String, boolean) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the boolean value to the log.
- print(String, boolean, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the boolean value to the log.
- print(String, byte) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the byte value to the log.
- print(String, byte, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the byte value to the log.
- print(String, char) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the char value to the log.
- print(String, char, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the char value to the log.
- print(String, double) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, double, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, float) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, float, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, int) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the int value to the log.
- print(String, int, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the int value to the log.
- print(String, long) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the long value to the log.
- print(String, long, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the long value to the log.
- print(String, short) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the short value to the log.
- print(String, short, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the short value to the log.
- print(String, BooleanSupplier) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the boolean value to the log.
- print(String, BooleanSupplier, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the boolean value to the log.
- print(String, DoubleSupplier) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the double value to the log.
- print(String, DoubleSupplier, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the double value to the log.
- print(String, IntSupplier) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the int value to the log.
- print(String, IntSupplier, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the int value to the log.
- print(String, LongSupplier) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the long value to the log.
- print(String, LongSupplier, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the long value to the log.
- print(String, Supplier<T>) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, Supplier<T>, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, T) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(String, T, LogOptions) - Static method in class org.debugtrace.DebugTrace
-
Outputs the name and the value to the log.
- print(Supplier<String>) - Static method in class org.debugtrace.DebugTrace
-
Outputs a message to the log.
- printStack(int) - Static method in class org.debugtrace.DebugTrace
-
Outputs a list of StackTraceElements to the log.
- printSuffixFormat - Static variable in class org.debugtrace.DebugTrace
R
- reflectionClasses - Static variable in class org.debugtrace.DebugTrace
- reflectionClassPaths - Static variable in class org.debugtrace.DebugTrace
- reflectionNestLimit - Static variable in class org.debugtrace.DebugTrace
- reflectionNestLimit - Variable in class org.debugtrace.LogOptions
-
The limit value for reflection nesting
- Resource - Class in org.debugtrace.helper
-
Uses this class when gets resources.
- Resource(Class<?>, String) - Constructor for class org.debugtrace.helper.Resource
-
Construct a Resource.
S
- sizeFormat - Static variable in class org.debugtrace.DebugTrace
- SLF4J - Class in org.debugtrace.logger
-
A logger using Log4J2.
- SLF4J() - Constructor for class org.debugtrace.logger.SLF4J
-
Construct a SLF4J.
- sqlDateFormat - Static variable in class org.debugtrace.DebugTrace
- Std - Class in org.debugtrace.logger
-
A logger using System.out or System.err.
- Std() - Constructor for class org.debugtrace.logger.Std
- Std.Err - Class in org.debugtrace.logger
-
A logger using System.err.
- Std.Out - Class in org.debugtrace.logger
-
A logger using System.out.
- stringLimit - Static variable in class org.debugtrace.DebugTrace
- stringLimit - Variable in class org.debugtrace.LogOptions
-
The limit value of characters for string to output
- Supplier<T> - Interface in org.debugtrace.helper
-
Supplier of a T value.
T
- threadBoundaryFormat - Static variable in class org.debugtrace.DebugTrace
- timeFormat - Static variable in class org.debugtrace.DebugTrace
- timestampFormat - Static variable in class org.debugtrace.DebugTrace
- timeZone - Static variable in class org.debugtrace.DebugTrace
- toString() - Method in enum class org.debugtrace.LineSeparator
- toString() - Method in class org.debugtrace.logger.File
- toString() - Method in class org.debugtrace.logger.Jdk
- toString() - Method in class org.debugtrace.logger.Log4j
- toString() - Method in class org.debugtrace.logger.Log4j2
- toString() - Method in class org.debugtrace.logger.SLF4J
- toString() - Method in class org.debugtrace.logger.Std
- Tuple - Interface in org.debugtrace.helper
-
Tuple interface.
- Tuple._1<T1> - Class in org.debugtrace.helper
-
Tuple of 1 element.
- Tuple._2<T1,
T2> - Class in org.debugtrace.helper -
Tuple of 2 elements
- Tuple._3<T1,
T2, T3> - Class in org.debugtrace.helper -
Tuple of 3 elements
- Tuple._4<T1,
T2, T3, T4> - Class in org.debugtrace.helper -
Tuple of 4 elements
U
- userResourceBundle() - Method in class org.debugtrace.helper.Resource
-
Returns the user defined ResourceBundle.
- utilDateFormat - Static variable in class org.debugtrace.DebugTrace
V
- value1() - Method in class org.debugtrace.helper.Tuple._1
-
Returns the 1st value.
- value2() - Method in class org.debugtrace.helper.Tuple._2
-
Returns the 2nd value.
- value3() - Method in class org.debugtrace.helper.Tuple._3
-
Returns the 3rd value.
- value4() - Method in class org.debugtrace.helper.Tuple._4
-
Returns the 4th value.
- valueOf(String) - Static method in enum class org.debugtrace.LineSeparator
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.debugtrace.LineSeparator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- varNameValueSeparator - Static variable in class org.debugtrace.DebugTrace
- VERSION - Static variable in class org.debugtrace.DebugTrace
-
DebugTrace version string
- visible() - Method in enum class org.debugtrace.LineSeparator
Z
- zonedDateTimeFormat - Static variable in class org.debugtrace.DebugTrace
_
- _1(T1) - Constructor for class org.debugtrace.helper.Tuple._1
- _2(T1, T2) - Constructor for class org.debugtrace.helper.Tuple._2
- _3(T1, T2, T3) - Constructor for class org.debugtrace.helper.Tuple._3
- _4(T1, T2, T3, T4) - Constructor for class org.debugtrace.helper.Tuple._4
All Classes and Interfaces|All Packages|Constant Field Values