Class ServiceLogColoredPrintStream.Builder
- java.lang.Object
-
- cz.xtf.core.service.logs.streaming.ServiceLogColoredPrintStream.Builder
-
- Enclosing class:
- ServiceLogColoredPrintStream
public static class ServiceLogColoredPrintStream.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceLogColoredPrintStreambuild()ServiceLogColoredPrintStream.BuilderoutputTo(OutputStream outputStream)ServiceLogColoredPrintStream.BuilderwithColor(ServiceLogColor color)ServiceLogColoredPrintStream.BuilderwithPrefix(String prefix)
-
-
-
Method Detail
-
outputTo
public ServiceLogColoredPrintStream.Builder outputTo(OutputStream outputStream)
-
withColor
public ServiceLogColoredPrintStream.Builder withColor(ServiceLogColor color)
-
withPrefix
public ServiceLogColoredPrintStream.Builder withPrefix(String prefix)
-
build
public ServiceLogColoredPrintStream build()
-
-