Package org.hawaiiframework.logging.util
Class LogUtil
- java.lang.Object
-
- org.hawaiiframework.logging.util.LogUtil
-
public final class LogUtil extends Object
LogUtil to indent data.- Since:
- 2.0.0
- Author:
- Rutger Lubbers
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringindent(String value, String indent)Indent thevaluewith the givenindent.static voidwriteToFile(Path parentDir, String filename, InputStream input)Writes theinputto the filefilenamein the directoryparentDir.
-
-
-
Method Detail
-
indent
public static String indent(String value, String indent)
Indent thevaluewith the givenindent.
-
writeToFile
public static void writeToFile(Path parentDir, String filename, InputStream input) throws IOException
Writes theinputto the filefilenamein the directoryparentDir.- Throws:
IOException
-
-