Demo entry 3544317



Submitted by anonymous on Jan 12, 2016 at 16:47
Language: Java. Code size: 525 Bytes.

import biz.shujutech.App;
  try {
    new App(); 
    App.log(Level.INFO, "Server started.....");
    App.log(Level.INFO, "This should got no thread id"); 
    App.logWarn("This is warning log message"); 
    App.logDebg("This is debug log message"); 
    App.log(Level.INFO, "Next exception will be thrown and log beautifully"); 
  } catch (Throwable ex) {
    App.log(Level.SEVERE, 0, new Hinderance(ex, "Application encounter fatal error, application is aborting...."));

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).