Module init

Create a Lualog instance

Functions

__call (t, ...) Print elements with plugins applied
info (...) Log info
warn (...) Log warn
error (...) Log error
Lualog:print (...) Function as print global function but apply your plugins for each element
Lualog:use (...) Add plugin/s to your lualog instance
Lualog:paint (style, text) Return a text colorized with style.


Functions

__call (t, ...)
Print elements with plugins applied

Parameters:

  • t Lualog
  • ... Elements to print
info (...)
Log info

Parameters:

  • ... Elements to print

Returns:

    self
warn (...)
Log warn

Parameters:

  • ... Elements to print

Returns:

    self
error (...)
Log error

Parameters:

  • ... Elements to print

Returns:

    self
Lualog:print (...)
Function as print global function but apply your plugins for each element

Parameters:

  • ... Element to print
Lualog:use (...)
Add plugin/s to your lualog instance

Parameters:

  • ... function Plugin/s to add to the queue

Returns:

    self
Lualog:paint (style, text)
Return a text colorized with style. It's necesary use print function to see at console/terminal

Parameters:

Returns:

    string
generated by LDoc 1.4.6 Last updated 2019-05-06 01:56:35