/** * return an XML node containing statistics for the Logger, * the LogFile pool and the LogBuffer pool. * * <p>The getStats method for the LogBufferManager and LogFileManager * are called to include statistics for these contained objects. * * @return String contiining XML node. */ public String getStats() { String name = this.getClass().getName(); StringBuffer stats = new StringBuffer( "<Logger class='" + name + "'>" ); // TODO: append Logger specific stats stats.append(bmgr.getStats()); stats.append(lfmgr.getStats()); stats.append("\n</Logger>" + "\n"); return stats.toString(); }
/** * return an XML node containing statistics for the Logger, * the LogFile pool and the LogBuffer pool. * * <p>The getStats method for the LogBufferManager and LogFileManager * are called to include statistics for these contained objects. * * @return String contiining XML node. */ public String getStats() { String name = this.getClass().getName(); StringBuffer stats = new StringBuffer( "<Logger class='" + name + "'>" ); // TODO: append Logger specific stats stats.append(bmgr.getStats()); stats.append(lfmgr.getStats()); stats.append("\n</Logger>" + "\n"); return stats.toString(); }
/** * return an XML node containing statistics for the Logger, * the LogFile pool and the LogBuffer pool. * * <p>The getStats method for the LogBufferManager and LogFileManager * are called to include statistics for these contained objects. * * @return String contiining XML node. */ public String getStats() { String name = this.getClass().getName(); StringBuffer stats = new StringBuffer( "<Logger class='" + name + "'>" ); // TODO: append Logger specific stats stats.append(bmgr.getStats()); stats.append(lfmgr.getStats()); stats.append("\n</Logger>" + "\n"); return stats.toString(); }
/** * return an XML node containing statistics for the Logger, * the LogFile pool and the LogBuffer pool. * * <p>The getStats method for the LogBufferManager and LogFileManager * are called to include statistics for these contained objects. * * @return String contiining XML node. */ public String getStats() { String name = this.getClass().getName(); StringBuffer stats = new StringBuffer( "<Logger class='" + name + "'>" ); // TODO: append Logger specific stats stats.append(bmgr.getStats()); stats.append(lfmgr.getStats()); stats.append("\n</Logger>" + "\n"); return stats.toString(); }