Logging and debugging

Logging and debugging

Hi, 
Is there a simple debugging tool that works like nLog?

log.warn(), log,debug(), log.error(). That kind of thing, it can capture variables and logs date/time/linenumber automatically. Destination can be configured. Logging level and scope should also be configured (which could be done at the start of the function). It would be a simple but very useful addition.

What is everyone using to debug and log their functions across Deluge?

Cheers
Steve