winston-nma is a log transport for Winston, independently developed. It allows you to send messages to your Android phone by using the Notify My Android service. As of this moment, it's a simple transport without a whole lot of functionality, but it'll do the trick.
You can easily use npm:
npm install winston-nme
You can use winston-nma like any other transport.
var logger = new winstonLoggertransports:new winstontransportsNotifyMyAndroid 'level': 'error' 'metadata': true appName: 'My app' apiKey: 'your-api-key-here';
level: the level you want to log (e.g. 'error', 'warn'). Defaults to
metadata: Whether or not to send the metadata. Uses
appName: The name of your app. This name shows up in the notifications.
apiKey: Your Notify My Android API key, which you can get on your control panel.
This is an incomplete list.
winston-nma is available under the MIT license.