So, I've pushed the changes to all Handler constructors.

> Phil, would be helpful if you could try other loggers too as soon as I
> have pushed the changes. It's the log.write() and log.writebr()
> functions that need to be replaced by from pyjamas import logger; log
> = logger.getXxxxxLogger(); log.debug('bla bla')

Actually, it's "logging" (not logger). The good example is in the new
FAQ answer (issue #700).

  from pyjamas import logging
  log = logging.getAlertLogger()   # other loggers: Append, Console, Print ...
  ...
  log.error("Hello, here is an error")

If I wanted to write a test for the logging module, where would it have to go?
There's not much I could test, really; only if creating an object
works. Better than nothing I guess.

Peter

Reply via email to