| Constructor and Description |
|---|
DebugFileImpl(DebugConfiguration configuration,
String debugName)
Constructor
|
DebugFileImpl(DebugConfiguration configuration,
String debugName,
org.forgerock.util.time.TimeService clock)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
void |
writeIt(String prefix,
String msg,
Throwable th)
Write message into file
|
public DebugFileImpl(DebugConfiguration configuration, String debugName)
configuration - debug configurationdebugName - log file namepublic DebugFileImpl(DebugConfiguration configuration, String debugName, org.forgerock.util.time.TimeService clock)
configuration - debug configurationdebugName - log file nameclock - Clock used to generate datepublic void writeIt(String prefix, String msg, Throwable th) throws IOException
DebugFilewriteIt in interface DebugFileprefix - Message prefixmsg - Message to be recorded.th - the optional java.lang.Throwable which if
present will be used to record the stack trace.IOExceptionCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.