Skip to content

mar1lusk1/lmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lmt -- lua micro tracing
************************

lmt (stylized as ∫mŧ) is an small, single-file logger for Lua.

How to use
==========

Installation
------------

The easiest way to install ∫mŧ is via LuaRocks: the Lua package manager.

Run:

	luarocks install lmt

Usage
=====

Just use the `lmt:log()` function.
It takes in `sever`, that can be one of:

	o "Trace"
	o "Info"
	o "Debug"
	o "Warning"
	o "Error"
	o "Fatal"

... and `mesg`, that is the message.

Logs follow the usual `ISO timestamp [severity] - message` format

About

lmt -- lua micro tracing library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages