What is $log Service?



What is $log Service?..

Answer / Avneet Kumar Gill

$log service in AngularJS provides logging functionality for debugging purposes. It logs messages to the browser's console or to custom log destinations, such as files. There are different log levels available: log, info, warn, error, and debug.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is a decorator in angular 6?

1 Answers  


What is angular base elements?

1 Answers  


What is event in angularjs?

1 Answers  


What is 2way binding?

1 Answers  


How to set authorization headers in get/post/put requests in angular?

1 Answers  


How do you use flexbox?

1 Answers  


Why does angular need an entrycomponents?

1 Answers  


Explain ng-bind-template and ng-non-bindable.

1 Answers  


What is 'control html dom programmatically' in angularjs?

1 Answers  


When will nginit be called? How would you make use of ngoninit()?

1 Answers  


What are improvements in angular 6?

1 Answers  


How to bootstrap your angular app for multiple modules?

1 Answers  


Categories