Ionic Enterprise Logging with Loggly
Ionic Loggly App that uses enterprise logging by Loggly
This application uses Loggly to extend the the IonicErrorHandler for logging hybrid mobile apps. Now you can gain greater insights of how you application is performing in real-time.
- Create or Sign In to your Loggly environment
- Click on Source Setup
- Click Customer Tokens
- Add New Customer Token
Ionic app setup
- Clone this repo.
- Open the logger.config.ts file; Add the logglyKey (Note this is the loggly customer token value.)
- Open a bash shell and navigate to the project folder
- Then run.
bash $ sudo npm install
- Then, to run it, run:
bash $ ionic cordova platform add ios $ ionic cordova run ios