Page 1 of 1

Server logging

Posted: 02 May 2011, 05:35
by ericheimburg
How do we write to the log? I know about the trace() function in extensions, but I need to log from within objects that don't have access to the extension object (e.g. in a PlayerIdGenerator, which can get spontaneously created by the server whenever it feels like, with no extension provided).

I assume there's some way to get the standard Logger.getLogger() to work with SFS, but I can't figure out what voodoo would be necessary. Can somebody help?

Posted: 02 May 2011, 08:36
by Bax

Posted: 02 May 2011, 21:39
by ericheimburg
Ah, thanks :) I did search for this, but didn't search far enough.