Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBJS Console
#4
(09-20-2023, 05:44 PM)dbox Wrote: One feature that was added in the last release (that I haven't done a very good job of publicizing yet) that can help with troubleshooting is the Console library.  This lets you write logging messages to the QBJS console window based on a log level.  You can click the message in the log and it will take you to the corresponding line of code.  

If you just want to print text to the console window and you don't really care about line numbers, you can use the Console.Echo method.

Awesome. I abuse the crap out of `console` in web development. This is a great addition!

Quote:And thus concludes the ...
LOL!

Are you open to suggestions on extending in the future? Like adding a `console.dir` to dump our QB vars and objects and things?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
QBJS Console - by dbox - 09-20-2023, 05:44 PM
RE: QBJS Console - by vince - 09-20-2023, 11:22 PM
RE: QBJS Console - by bplus - 09-21-2023, 01:24 AM
RE: QBJS Console - by grymmjack - 09-21-2023, 12:40 PM
RE: QBJS Console - by dbox - 09-21-2023, 10:33 PM



Users browsing this thread: 1 Guest(s)