public class FileChannel extends AbstractChannel implements IChannel
formatter, m_maxBacklog, m_maxSize, m_showStackTraces, m_showThreads| Constructor and Description |
|---|
FileChannel(String fileName,
Long maxSize,
Integer maxBacklog,
Boolean showStackTraces,
Boolean showThreads)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
void |
finalize()
Close the output stream
|
void |
log(String method,
int level,
Object message,
Throwable throwable)
Log
|
void |
setFileName(String fileName)
Set the name of the file the output is written to
|
getDateTimeString, getLogLevelText, getLogTextpublic FileChannel(String fileName, Long maxSize, Integer maxBacklog, Boolean showStackTraces, Boolean showThreads) throws Exception
fileName - TBD: Description of the incoming method parametermaxSize - TBD: Description of the incoming method parametermaxBacklog - TBD: Description of the incoming method parametershowStackTraces - TBD: Description of the incoming method parametershowThreads - TBD: Description of the incoming method parameterException - Exception raised in failure situationpublic void setFileName(String fileName) throws FileNotFoundException
fileName - fileName to be setFileNotFoundException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice