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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
int
static LogChannel
getChannel
(String name) static LogChannel
getName()
void
void
setBufferSize
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-