Hello. I'm sure this question is descriped somewhere, but still.
I wan't to make my own logging. How can i do that? i know that creating a file and write it on your own isn't a solution. So, please explain how to make it work/
Logging. Trace isn't enogh
Thanks, but i don't see how to make my own log file.BigFIsh wrote:See http://www.smartfoxserver.com/docs/docP ... logger.htm
That example will put my log messages to general log-file for server, what about my own? F. e. i've created an extension and i want to make log file just for it
I assume you're using Java for your extensions. If that's the case, you can use java's IO library to write text to an external file.
See http://www.roseindia.net/java/example/j ... file.shtml
See http://www.roseindia.net/java/example/j ... file.shtml
Smartfox's forum is my daily newspaper.