Alexander PanovforRoyalZSoftwareroyalzsoftware.de·Mar 4, 2024Don't use console.log! The different log levels explainedAs a software developer I wish somebody would have taught me earlier about the bad practice of using console.log. What about you? Are you still using it? After this post you will understand why it's important to know about log levels, when to use whi...Discuss·28 readslogging
Gemma Blackgemmablack.dev·Feb 6, 2024NodeJS: Using console.dir() over console.log() with deeply nested objects.console.dir() seems rather redundant. At least with console.log(), you can add as many arguments as you want, but with console.dir(), you can only log one. Despite that, for debugging, I'll be using console.dir() more in future. Here's why? Let's tak...Discuss·137 readsNode.js
Akalonu Chukwuduzie Blaisevectorware.hashnode.dev·Jan 10, 2024Building custom npm packages to solve problems.Hi there👋, If you are reading this then you must fall into one of the following categories: You just randomly stumbled across this article🌚. You want to build your own npm package to solve a problem🤓. You randomly stumbled across this article a...Discuss·12 likes·97 readsNode.js
Piyush Agrawalpiyushagrawal.hashnode.dev·Dec 26, 2023Using of Console in java scriptThe console object in JavaScript provides a set of functions that allow you to interact with the browser's developer console. These functions are useful for debugging, logging information, and monitoring the execution of your JavaScript code. Here ar...Discussoutput in java script
Kyle Robinsblog.kylerobins.com·Dec 15, 2023Power of the Console in JavaScriptExploring the Power of the Console in JavaScript When it comes to debugging and understanding what's happening behind the scenes in your JavaScript code, the console object is your best friend. In this guide, we'll dive into some of the essential fea...Discuss·12 likes·68 readsJavaScript for beginners 2024js
SaviourTheDevcodebadass.hashnode.dev·Oct 31, 2023Make your console.log() beautiful: Unleash the magic of console.log() with CSSFor a long time, I've been using plain old boring console.log() and so far, it's been a very good friend. However, I feel betrayed because I just discovered that console.log() output can be styled with CSS. It's like finding out your dog can sing aft...Discuss·1 like·39 readsJavaScript
Aniket Pandharabaleaniketicloud.hashnode.dev·Oct 15, 2023VS Code snippet: console.log(), React FCWhen coding React, I use React plus Typescript pattern a lot. Also, you import { FC } from "react" interface OptionsProps { } export const Options: FC<OptionsProps> = () => { return ( <> </> ) } So, I made a snippet in VS-Code to red...Discussconsole.log
Jose Marinjosuamanuel.hashnode.dev·Sep 7, 2023Chrono and Console log timelinesLogs are as necessary as tedious. They give valuable information in a usually terrible format. Coming to the rescue when we need to log time events, we have Chrono functionality in js-awe library: https://www.npmjs.com/package/js-awe npm install js-...Discussconsole.log
Alison Liangdesignnerd.hashnode.dev·Aug 7, 2023Simple way to debug in Javascript - console.logWhen I'm writing code and haven't quite finished it yet, I like to test out the logic to make sure everything's working as it should. That's where the console.log() method comes in handy. Here's a simple guide to using the JavaScript console.log() me...Discuss·2 likes·77 readsJavaScript
Remusremusrisnov.hashnode.dev·Aug 6, 2023Programming Tidbits (VS Code Keyboard Shortcuts, Console.log Styling + Search, Diffing Libraries, fetch === curl)Here are a few tidbits I've picked up coding to make your life easier in front of the keyboard. Large Files When working with a large file, there are times you need to step back and see the bigger picture. The VS Code keyboard shortcuts below will co...Discuss·2 likes·63 readsconsole.log