Skip to content
Amir Ariffin edited this page Mar 9, 2019 · 6 revisions

Console log convention

  1. For logging errors, place pure string log before logging the error event
    • This will make string search for debugging purposes more robust
  2. Prepend log with __XXX__ where XXX is the log type
  3. Always use console.log for logging
Clone this wiki locally