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
DebugFile
writeIt
in interface DebugFile
prefix
- Message prefixmsg
- Message to be recorded.th
- the optional java.lang.Throwable
which if
present will be used to record the stack trace.IOException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.