Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

For me when I am developing code I like to use tracing. See C++ Tracing. I build sophisticated user interfaces in Javascript so it’s useful to use the same technique there.

 Why not just use console.log statements?

I generally only want logging switched on in the code I am paying attention to. It’s overwhelming to have logging switched on everywhere all the time.

So the basic idea of the logging framework is to allow the logging to be switched on and off in the functions I am working on.

 Click here to expand...

 This is a 'good enough' tracing framework.

The tracing framework I have in Javascript is ‘good enough’. It’s a work in progress.

You can see the code for it here in this GIT repository.

https://bitbucket.org/interfaceware/concepts/src/main/concepts/web/COL/

  • No labels