Python logging module rewritten on lua