ng2-log-service
Angular 2 Logging Service. Log listeners listen to log events and are notified when they occur.
Installation
npm install --save ng2-log-service
Full Documentation
Example Usage
1. Create a Class that Implements ILogListener
;;
2. Register Your Listener(s) in your App Root Module
; // Import Your Log Listeners you want to register;
3. Use the Log Service
;
Every time you log with the logService, it will find any registered subscribers and notify them by calling the onLog
method.
Chrome Extension
There is a free Chrome Extension for ng2-log-service. Learn more here: https://github.com/unisoftapps/ng2-log-service-extension
Licensing
This software is licensed with the MIT license.