Hi, TW has a logging mechanism, that reports to console.log. ... It needs to work in the browser and as a stand alone component in node js.
Have a closer look at the source. Search for $tw.utils.log or at utils.js export.log(). For my stalled beaker-adaptor, I did extend the mechanism a little bit, to make it more configurable, and write the log output to different tiddlers. ... I'll need to dig out the code, but I think, I pretty much have what the OP describes. The biggest problem is: performance. ... If we implement a generic logging mechanism into low level functions, that are called very often, it will slow down the whole thing. ... will post here, if I found the stuff. have fun! mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/abf76018-7804-4d55-b6dc-05430cbee666%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
