LuaLogging logo
LuaLogging
A simple API to use logging features in Lua
home · manual · example · console · email · file · socket · sql

Console appender

Console is the simplest appender. It just writes the log messages to io.stdout.

function logging.console([logPattern])

Example

require"logging.console"

local logger = logging.console()

logger:info("logging.console test")
logger:debug("debugging...")
logger:error("error!")


$Id: index.html,v 1.1 2004/11/16 16:33:10 tuler Exp $