Skip to main content
Home  ›  Blog

Awesome Insights in 10.22

Insights now shows you time and code information. How awesome is that 💖!

The Enhanced Insights

One of the core challenges in creating great software is looking into the machinery as it's running. For this we introduced 2sxc Insights in 9.31 which lets super users look see exactly what happend inside the engine on a live web site. 

Our latest enhancement now provides logs that look like this:

Code Information in the Logs ⚡

The first big enhancement is that most logs now show a blue C# at the end of the line, and when you hover above it you'll see exactly where in the code this log was added. This allows you and us to better corner any issues. Previously you had to do some guessing and search for Log-ID keys to find out where in the code this happens, now it's just a mouse-over away.

Timing Information

2sxc is probably the fastest DNN module in the whole ecosystem, but we're always looking for ways to improve it. But optimizations don't always improve things - sometimes the net result is actually worse. While working on performance enhancements for 10.22 we realized that we're logging a lot of timers and decided to move this capability into the logger itself. 

So the second awesome enhancement is that the logging system can now (optionally) measure the time used on specific function calls. The total time is shown at the top, where the call was made. So it includes everything that happens inside it, but you don't need to find the end-log-entry to see the time - it's shown right on the call line where you also see the result (in green). 

Want to know more?

Read about logging in the docs - and to access insights use this recipe:

Try it now

Get your latest 2sxc from github

Love from Switzerland,
iJungelboy


Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.

Read more posts by Daniel Mettler