ajbrown / angular-loggly-logger

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.
MIT License
32 stars 49 forks source link

sendMessage doc is not right (i think) #47

Closed moltar closed 8 years ago

moltar commented 8 years ago

The docs says:

LogglyLogger.sendMessage( 'Short and Stout.' )

But I get empty messages in Loggly, like this:

{}

When I changed the call to:

LogglyLogger.sendMessage( { message: 'Short and Stout.' } );

I got:

{ "message": "Short and Stout." }

As expected.