Salesforce and Loggly:

A Match Made in the Clouds

SLoggly & You

Who I am.

Patrick Connelly

What is Loggly?

Hoover

What is SLoggly?

SLoggly Logo

What SLoggly isn't

How to install SLoggly

How to use it

Single Log
Loggly.singleLog('Error Message', DateTime.now(), 'LEVEL');
Batching Logs
//Enable batching
Loggly.BATCH_LOGS=True;

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

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

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

//Flush the message queue
l.flush();

Why use it?

Questions?

/

#