McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 771

↗ View in doc context
page
771
source
cucm/v15/jtapi-dev-guide/jtapi-dev-guide.md
chunk_id
cucm::v15::jtapi-dev-guide::jtapi-dev-guide::774

getFileNameBase() public java.lang.String getFileNameBase() Returns: the FileNameBase property getHeader() public java.lang.String getHeader() Get the header string that will be written at the beginning of each log file. Returns: the Header Property getMaxFiles() public int getMaxFiles() Returns: the MaxFiles property getMaxFileSize() public int getMaxFileSize() Returns: the MaxFileSize property setHeader(String) public void setHeader(java.lang.String header) Set the constant header string that will be written at the beginning of every file, trace writing continues from the next line after the header is written. If setHeader is called after a file output has started, it will take effect from the next file to be written. Usage: tm = TraceManagerFactory.registerModule(this); tw = newLogFileTraceWriter(“trace”, “log”, 10, 1024*1024); tw.setHeader(header); tm.getTraceWriterManager().addTraceWriter(tw); OutputStreamTraceWriter OutputStreamTraceWriter wraps an output stream in a TraceWriter. This simplifies adding custom tracing classes that can co-exist with other TraceWriters. Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 707 Cisco Unified JTAPI Alarms and Services OutputStreamTraceWriter

Page 771 content