Interface ITrace
- All Known Implementing Classes:
Trace
@Concealed
public interface ITrace
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTrace(ITrace.Kind kind, String message) Add general trace information messagevoidEnd tracing sectionvoidaddTraceEndSection(boolean isAdmin, IUserSecurityCache.AdminType type) End tracing section replacing Kind field with flag informationvoidaddTraceEndSection(int access) End tracing section replacing Kind field with access informationvoidaddTraceStartSection(ITrace.Kind kind, String message) Add information and indent.voidclear()clear all messagesFormat the trace information in this object into a string, then clear the information
-
Method Details
-
addTrace
Add general trace information message- Parameters:
kind-message-
-
addTraceEndSection
void addTraceEndSection()End tracing section -
addTraceStartSection
Add information and indent. Message is placed in an internal stack for use during unindent. Usually used at beginning of method, or larger logical block of code.- Parameters:
kind-message-
-
addTraceEndSection
void addTraceEndSection(int access) End tracing section replacing Kind field with access information- Parameters:
access- value of access level
-
addTraceEndSection
End tracing section replacing Kind field with flag information- Parameters:
isAdmin- value of flagtype- type of admin flag
-
clear
void clear()clear all messages -
formatTrace
String formatTrace()Format the trace information in this object into a string, then clear the information- Returns:
- formatted trace information
-