$log

Improve this Doc View Source $log

  1. $logProvider
  2. service in module ng

Simple service for logging. Default implementation safely writes the message into the browser's console (if present).

The main purpose of this service is to simplify debugging and troubleshooting.<