Hi i have a few questoins regarding the logging.
Are there multiple levels of "trace"?
There isn't any way to get my SmartfoxServer.log.log logs into the trace window for extensions right?
Also for using logging is there a way to use parameter substition :
SmartFoxServer.log.log(Level.INFO,"hi {0} ", new Object[]{"there."});
outputs:
hi {0} instead of hi there.
Thanks
Java Logging
No, there is one level.Are there multiple levels of "trace"?
No, only traces do that. Otherwise the AdminTool would be flooded.There isn't any way to get my SmartfoxServer.log.log logs into the trace window for extensions right?
Yes, use String.format or String.printf from the JDK5Also for using logging is there a way to use parameter substition :
SmartFoxServer.log.log(Level.INFO,"hi {0} ", new Object[]{"there."});
outputs:
hi {0} instead of hi there.