daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Mar 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var logs = window.location.pathname + '/logs.json';
  2.   var logTable = $("table").DataTable({
  3.     "oLanguage": {
  4.       "sSearch": "Search"
  5.     },
  6.     "paging": false,
  7.     "dom" : 't',
  8.     "order": [[0, "desc"]],
  9.     "ajax": {
  10.      "url": logs,
  11.      'dataSrc': function ( json ) {
  12.        return json;
  13.      }
  14.    },
  15.    "drawCallback": function(){
  16.     refreshProgressBar();
  17.   },
  18.   columns: [
  19.   {data : "created_at"},
  20.   {data : "level"},
  21.   {data : "message"},
  22.   ],
  23.   });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top