A simple API to use logging features in Lua