Console.log and its' variations

Apr 24, 2017 console javascript printing debugging
Discovered a few months ago, that console.log isn't the only method to print out values. To make distinctions between each print, you may also use .info(), .debug(), .warn() and .error().

Each browser handles these slightly differently - mainly colors and icons but they do work across the board.

If you found the following info helpful, I'm happy to accept any donations of the following cryptocurrencies.

  • Bitcoin - 17DTiPExzP9StqveW428acEyB4mVMfKbiK
  • Ethereum - 0x87B8307FD20dc90cc05c94905Ec593134D32B6FF
  • Litecoin - LZMiz5U5sVq9doMLYE3gfLJrxCQDKuyCmU
  • Neo - AXv71WB38ajc1KUUEnxQKhynLLPc4BapVb