Example #1
0
 /**
  * @param $id
  * @return Log
  */
 public function findById($id)
 {
     return Log::findOrFail($id);
 }
Example #2
0
 /**
  * @param array $record
  */
 protected function write(array $record)
 {
     $attributes = ['message' => $record['message'], 'level' => $record['level'], 'data' => $record['formatted']];
     $attributes = array_merge($attributes, $this->oracle->asArray());
     Log::create($attributes);
 }