On Sun, Mar 11, 2012 at 12:35 PM, Peter Bittner <[email protected]> wrote: > Aha! > > I used a wrong import statement, sorry!
:)
> from pyjamas import log
> log.write('foo bar baz')
>
> Someone (me? :-) ) should update the related FAQ answer, shouldn't he?
probably yes :)
> What about extending the log module? Wouldn't it be nice to
> a) alternatively log to console.log()
> b) align the syntax with Python's logging module?
yes. it was a pretty quick hack. nice and simple.
l.

