Home

Awesome

<div class="markdown-body">

capacitor-logger-demo  GitHub version

This Ionic application provides a demo of all of the capacibilities of the capacitor-logger Capacitor plugin.

Installation

git clone https://github.com/aparajita/capacitor-logger-demo.git
cd capacitor-logger-demo
pnpm install  # npm install
pnpm build  # npm run build

Usage

Web

To launch the demo in a browser:

pnpm dev  # npm run dev

Once the demo is running, open the browser console to view the log output.

iOS

To launch the demo in Xcode:

pnpm ios.dev  # npm run ios.dev

If "Use syslog" is off in the demo, you will see log output only in the Xcode debug log. If "Use syslog" is on, you will see log output in the Xcode debug log and in Console.app.

Note: Debug log messages from a simulator will not appear in Console.app.

Android

To launch the demo in Android Studio:

pnpm android.dev  # npm run ios.dev
</div>