Aikido-Bash!
Original Post
class to help inspecting / logging contents of any table
Logging the contents of any table

This is just a piece of code I wrote and I'd like to share.
It has proven to be very robust and useful over the years.
It makes inspecting the contents of any table easier, I find.

Usage examples

Printing a simple table to the Toribash console



Writing the contents of a huge table to a file



Overriding metatable when calling new

Attached Images
usage-example-1.png (10.3 KB, 62 views)
error.png (4.8 KB, 46 views)
Attached Files
table_class.lua (4.2 KB, 5 views)
Last edited by strangled; Nov 12, 2025 at 12:30 PM. Reason: fixed minor error in function annotation in table_class.lua