{%
if IsExists == true then
    local func = function(item)
        if not item then
            return
        end
        local time = item[2].Value
        local in_f = item[3].Value
        local user = item[4].Value
        local ip = item[5].Value
        local cmpt = item[6].Value
        local cont = item[7].Value
        return time .. ' ' .. in_f .. ',' .. user .. '@' .. ip .. ',' .. cmpt .. ',' .. cont
    end
    for i = #Log, 1, -1 do
        local str = func(Log[i]['Params'])
        if Skip + Top == Count and i == #Log then
            echo(str)
        else
            echo('\n' .. str)
        end
    end
else
    echo('No operation log.')
end

%}