<?php

namespace GriffinForms\Items;

class Log extends \GriffinForms\Items\Format
{
    protected $log_type;
    protected $item_type;
    protected $item_id;
    protected $category;
    protected $user_id;
    protected $message;
    protected $date_time;

    public function getLogTypeIcon($log_type)
    {
        return $this->config->getRootUrl() . 'admin/images/log-type-icons/' . $log_type . '.svg';
    }
}