T3P6RYQPE6KNP56ZD5FHT5VMMGCZBFYIJIJAQZ6WEN6JPU233LWAC 3BFFX2I3V7N7QJ4Z6CKICF52IRKMSLT63MMZZ34JZPFYAZELJ4EQC RUB7L6GYFGVH7NMTWSZWLPFVEMJRVDDK75R45ZA3EVRPHGBO5SKAC R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC JOPVPUSAMMU6RFVDQR4NJC4GNNUFB7GPKVH7OS5FKCYS5QZ53VLQC 5NAABSKK2ZTW5AIZSWZ6CNLGJEGDN5M75PLBS7X2LXTTPYT7WJEAC ICUW7F3XQLURK4LSNPH5E3NDEFSRHKATEUHH2UPFJTMHYR3ZJF3QC 73OCE2MCBJJZZMN2KYPJTBOUCKBZAOQ2QIAMTGCNOOJ2AJAXFT2AC AHNBMC7IPEFFNDYZDZRXPDAHPAX5PIAOUFIO2LVPOAJL3AX4YYQAC LLQC2M2IMEJBJQXZTKC3OAKG5WKHSERXKAKCYHQRUZZD6CVRIHAQC 3VHUIIATPOF7FXB7NTL5MESCV5BCQACII2D7QZ4UIUCBX3CWXMMAC ONWEPEFITJ2ZMN4SY4NE7CVBXSR7XEHDSMIG7IV64653EXAQYDSQC JLGLSVIMO3MT2YLZYLAKDCT6UWGCAZVFFEZETYQ6AZS3Z6XIOYPAC USSA6NYCO36QDNN7J3EDO4UOCTHOF4XJN3M6WJBKBT6S632U3HPAC SDF3JJMXO4LW4UPI5F4X5HPSNIZMKEUAD2JUU3NZ2HHUBIGM2TNAC I3OZSVJABUFVX2VIBC3Z6GZOWW4DI4PQ2JB6SATSVSYL5TVV6PPAC local info = debug.getinfo(stack_frame_index, 'Sl')local msgif type(obj) == 'string' thenmsg = objelsemsg = json.encode(obj)endlove.filesystem.append('log', info.short_src..':'..info.currentline..': '..msg..'\n')if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name)if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)endendfunction log_new(name, stack_frame_index)endfunction log_end(name, stack_frame_index)end-- for section delimiters we'll use specific Unicode box charactersfunction log_start(name, stack_frame_index)
local info = debug.getinfo(stack_frame_index, 'Sl')local msgif type(obj) == 'string' thenmsg = objelsemsg = json.encode(obj)endlove.filesystem.append('log', info.short_src..':'..info.currentline..': '..msg..'\n')
local info = debug.getinfo(stack_frame_index, 'Sl')local msgif type(obj) == 'string' thenmsg = objelsemsg = json.encode(obj)endlove.filesystem.append('log', info.short_src..':'..info.currentline..': '..msg..'\n')
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name)
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name)
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)
if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)
if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)