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 SummaryFields
- 
Method SummaryModifier 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
- 
getBufferSizepublic int getBufferSize()
- 
setBufferSizepublic void setBufferSize(int bufferSize) 
- 
log- Throws:
- LogSinkException
 
- 
attach
- 
detach
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
 
-