[stringtemplate-interest] Logging framework?

Sam Harwell sharwell at pixelminegames.com
Thu Apr 14 05:38:31 PDT 2011


Ter is going to have to answer this fully, but from what I've seen these
messages are generally in place for the development of ST itself. Currently
you can provide a custom implementation of STErrorListener or ErrorManager
to handle compilation and runtime messages for ST users.

Sam

-----Original Message-----
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Barrie
Treloar
Sent: Wednesday, April 13, 2011 11:43 PM
To: stringtemplate-interest Template
Subject: [stringtemplate-interest] Logging framework?

Is there a reason for not using a logging framework?

Instead there the code uses:
  if ( verbose ) System.out.println("getEmbeddedInstanceOf("+name+")");

I ask because I'd like to enhance the feedback from failure conditions and
using java.logging (or log4j) would be nicer.
_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest at antlr.org
http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list