Salesforce and Loggly:

A Match Made in the Clouds

SLoggly & You

Who I am.

Patrick Connelly

What is Loggly?


What is SLoggly?

SLoggly Logo

What SLoggly isn't

How to install SLoggly

How to use it

Single Log
Loggly.singleLog('Error Message',, 'LEVEL');
Batching Logs
//Enable batching

//Create new instance of the Loggly class
Loggly l = new Loggly();

//Batch a message
l.add('Error Message',, 'LEVEL');

//Any calls to Loggly.singleLog after setting BATCH_LOGS will automatically
// be batched and sent with the .flush

//Flush the message queue

Why use it?