B:BD[
5.505] → [
5.505:597]
B:BD[
5.597] → [
8.244:324]
B:BD[
8.366] → [
8.366:401]
B:BD[
9.337] → [
9.337:381]
B:BD[
9.462] → [
9.462:524]
B:BD[
9.572] → [
9.572:771]
B:BD[
9.771] → [
10.61:214]
∅:D[
10.214] → [
9.886:899]
B:BD[
9.886] → [
9.886:899]
line.filename, line.line_number, line.data = line.data:match('([^:]*):([^:]*):%s*(.*)')
line.filename = guess_source(line.filename)
line.line_number = tonumber(line.line_number)
if line.data:sub(1,1) == '{' then
local data = json.decode(line.data)
if log_render[data.name] then
line.data = data
end
line.section_stack = table.shallowcopy(Section_stack)
elseif line.data:match('\u{250c}') then
line.section_stack = table.shallowcopy(Section_stack) -- as it is at the beginning
local section_name = line.data:match('\u{250c}%s*(.*)')
table.insert(Section_stack, {name=section_name})
line.section_begin = true
line.section_name = section_name
line.data = nil
elseif line.data:match('\u{2518}') then
local section_name = line.data:match('\u{2518}%s*(.*)')
if array.find(Section_stack, function(x) return x.name == section_name end) then
while table.remove(Section_stack).name ~= section_name do
--
if line.data ~= '' then
line.filename, line.line_number, line.data = line.data:match('([^:]*):([^:]*):%s*(.*)')
line.filename = guess_source(line.filename)
line.line_number = tonumber(line.line_number)
if line.data:sub(1,1) == '{' then
local data = json.decode(line.data)
if log_render[data.name] then
line.data = data