Esempio n. 1
0
function logThis($message, $level = 'info')
{
    Galog::create(['message' => $message, 'level' => $level]);
}
Esempio n. 2
0
 /**
  * Show the application dashboard.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     return Galog::latest()->paginate(25);
 }
 /**
  * Show the application dashboard.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $users = User::all();
     $galogs = Galog::latest()->get();
     return view('admin.index')->with('users', $users)->with('galogs', $galogs);
 }