Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created August 28, 2012 16:23
Show Gist options
  • Save astrotars/3499894 to your computer and use it in GitHub Desktop.
Save astrotars/3499894 to your computer and use it in GitHub Desktop.
// build log data
$data = array(
account_id => 1,
array(
'type' => 'budget',
'message' => 'this is a test error message for budget'
),
array(
'type' => 'budget',
'message' => 'this is a test error message for budget'
),
);
// send log
A5_LOG::save($data, LOGGLY_INPUT_KEY_ADS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment