Package ch.tocco.nice2.boot.api.logging
Class LogChannel
java.lang.Object
ch.tocco.nice2.boot.api.logging.LogChannel
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voidintstatic LogChannelgetChannel(String name) static LogChannelgetName()voidvoidsetBufferSize(int bufferSize) toString()
-
Field Details
-
BUFFER_SIZE_PROPERTY
- See Also:
-
DEFAULT_CHANNEL
- See Also:
-
-
Method Details
-
getChannel
-
getDefault
-
toString
-
getName
-
getBufferSize
public int getBufferSize() -
setBufferSize
public void setBufferSize(int bufferSize) -
log
- Throws:
LogSinkException
-
attach
-
detach
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-