Class DebugFileImpl
- java.lang.Object
-
- com.sun.identity.shared.debug.file.impl.DebugFileImpl
-
-
Constructor Summary
Constructors Constructor Description DebugFileImpl(DebugConfiguration configuration, String debugName)ConstructorDebugFileImpl(DebugConfiguration configuration, String debugName, org.forgerock.util.time.TimeService clock)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()voidwriteIt(String prefix, String msg, Throwable th)Write message into file
-
-
-
Constructor Detail
-
DebugFileImpl
public DebugFileImpl(DebugConfiguration configuration, String debugName)
Constructor- Parameters:
configuration- debug configurationdebugName- log file name
-
DebugFileImpl
public DebugFileImpl(DebugConfiguration configuration, String debugName, org.forgerock.util.time.TimeService clock)
Constructor- Parameters:
configuration- debug configurationdebugName- log file nameclock- Clock used to generate date
-
-
Method Detail
-
writeIt
public void writeIt(String prefix, String msg, Throwable th) throws IOException
Description copied from interface:DebugFileWrite message into file- Specified by:
writeItin interfaceDebugFile- Parameters:
prefix- Message prefixmsg- Message to be recorded.th- the optionaljava.lang.Throwablewhich if present will be used to record the stack trace.- Throws:
IOException
-
-