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?
Server logging
-
ericheimburg
- Posts: 26
- Joined: 18 Mar 2010, 07:25
-
ericheimburg
- Posts: 26
- Joined: 18 Mar 2010, 07:25