How to Power Up Your Logging in JavaScriptby@prplcode
325 reads
325 reads

How to Power Up Your Logging in JavaScript

by Simon Egersand 🎈3mMay 9th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This article focuses on the essential aspects of client-side JavaScript logging. For JavaScript, the logging your application will output will be visible in the console in your browser. This is different from server-side logging where logs will be written to a file or sent to a log aggregation server. It’s important to know that browsers handle logging differently, but the basics are the same. There are more methods on the `console` object to power up your logging. JavaScript supports different levels of messages, for example, you should use an error level when something went wrong.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Power Up Your Logging in JavaScript
Simon Egersand 🎈 HackerNoon profile picture
Simon Egersand 🎈

Simon Egersand 🎈

@prplcode

Sr. Software Engineer @Spotify | Tech Blogger 💻 | Professional Nerd 🤓 | Musician 🎸

About @prplcode
LEARN MORE ABOUT @PRPLCODE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Simon Egersand 🎈 HackerNoon profile picture
Simon Egersand 🎈@prplcode
Sr. Software Engineer @Spotify | Tech Blogger 💻 | Professional Nerd 🤓 | Musician 🎸

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite