dragome-sdk
dragome-sdk copied to clipboard
Use standard java logging mechanism
@fpetrola, Why you write own com.dragome.compiler.utils.Log instead of using standard java.util.logging.Logger?
relate https://github.com/dragome/dragome-sdk/issues/169
This is inherited from j2js project
It will be good replace it to java.util.logging.Logger for more control over log process.
I'd rater use SL4J which is an abstract layer for logging, it's not dependent of any particular logging framework.
I think you mean slf4j. It is possible and SLF4J. It does not matter to me.
ok, if we use slf4j we should find a slf4j backend to run also at client side, may be it's easier as log in console triggered by a system.out.println
May be this one: https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html
Yes. I think capabilities of SimpleLogger as backend will be enough for now.