Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.apache.log4j;
 /*    */ 
 /*    */ import org.apache.log4j.spi.LoggingEvent;
 /*    */ 
 /*    */ public class SimpleLayout extends Layout
 /*    */ {
 /* 37 */   StringBuffer sbuf = new StringBuffer(128);
 /*    */ 
 /*    */   public void activateOptions()
/*    */   {
/*    */   }
/*    */ 
/*    */   public String format(LoggingEvent event)
/*    */   {
/* 59 */     this..setLength(0);
/* 60 */     this..append(event.getLevel().toString());
/* 61 */     this..append(" - ");
/* 62 */     this..append(event.getRenderedMessage());
/* 63 */     this..append(.);
/* 64 */     return this..toString();
/*    */   }
/*    */ 
/*    */   public boolean ignoresThrowable()
/*    */   {
/* 75 */     return true;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.log4j.SimpleLayout
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X