public YammerMetricsAssembler(PrintStream out,long period,TimeUnit timeunit){
  reporter=new ConsoleReporter(out);
  try {
    reporter.start(period,timeunit);
  }
 catch (  RuntimeException e) {
    e.printStackTrace();
    throw e;
  }
}

public YammerMetricsAssembler ( PrintStream out , long period , TimeUnit timeunit ) { reporter = new ConsoleReporter ( out ) ; try { reporter . start ( period , timeunit ) ; } catch ( RuntimeException e ) { e . printStackTrace ( ) ; throw e ; } }
creates a consolereporter and sends the output to the given printstream .
