Library "DebugConsole"
Methods for debuging/output into a table, console like style.
init(size) initiate property variables.
Parameters:
queue(console_id, new_line) Regular Queue, will be called once every bar its called.
Parameters:
queue_one(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
update(table_id, console_id) Update method for the console screen.
Parameters:
Methods for debuging/output into a table, console like style.
init(size) initiate property variables.
Parameters:
- size: int, console line size.
queue(console_id, new_line) Regular Queue, will be called once every bar its called.
Parameters:
- console_id: string array, console configuration array.
- new_line: string, with contents for new line.
queue_one(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
- console_id: string array, console configuration array.
- new_line: string, with contents for new line.
update(table_id, console_id) Update method for the console screen.
Parameters:
- table_id: table, table to update console text.
- console_id: string array, console configuration array.
版本注释:
minor update.
版本注释:
v3
Added:
queue_one_intrabar(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
console_id: string array, console configuration array.
new_line: string, with contents for new line.
Returns: void.
Added:
queue_one_intrabar(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
console_id: string array, console configuration array.
new_line: string, with contents for new line.
Returns: void.
版本注释:
v4
added option for toggling the table on/off
Updated:
init(size) initiate property variables.
Parameters:
size: int, console line size.
Returns: tuple, table and string array.
added option for toggling the table on/off
Updated:
init(size) initiate property variables.
Parameters:
size: int, console line size.
Returns: tuple, table and string array.
版本注释:
v5 forgot parameter description :facepalm:
版本注释:
v6
fixed a error due to hiding the table functionality.
fixed a error due to hiding the table functionality.
版本注释:
v7
Added:
log(message) Generate a independent single value output.
Parameters:
message: string, the output message.
returns void
Originaly by Adolgov
Added:
log(message) Generate a independent single value output.
Parameters:
message: string, the output message.
returns void
Originaly by Adolgov
版本注释:
v8 forgot about the parameters... x_x
版本注释:
v9
Added:
init_ip(size, visible)
initiate property variables for intrabar persistance.
Parameters:
size: int, console line size.
visible: bool, toggle visibility if the table.
Returns: tuple, table and string array.
function proposed by adolgov.
Added:
init_ip(size, visible)
initiate property variables for intrabar persistance.
Parameters:
size: int, console line size.
visible: bool, toggle visibility if the table.
Returns: tuple, table and string array.
function proposed by adolgov.
版本注释:
v10
Added:
log_ip(message, size, text_size, bg_color, text_color, border_color)
Generate a independent single value output stream supporting intrabar persistance.
Parameters:
message: string, the output message.
size: int, number of messages to show.
text_size: string, default=size.normal.
bg_color: color, default=#000000.
text_color: color, default=#ffffff.
border_color: color, default=color.grey.
returns void
Originaly by Adolgov
Added:
log_ip(message, size, text_size, bg_color, text_color, border_color)
Generate a independent single value output stream supporting intrabar persistance.
Parameters:
message: string, the output message.
size: int, number of messages to show.
text_size: string, default=size.normal.
bg_color: color, default=#000000.
text_color: color, default=#ffffff.
border_color: color, default=color.grey.
returns void
Originaly by Adolgov