 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package plugin implements golang packege log functionality for lua.
Index ¶
- func Close(L *lua.LState) int
- func Loader(L *lua.LState) int
- func New(L *lua.LState) int
- func Preload(L *lua.LState)
- func Print(L *lua.LState) int
- func Printf(L *lua.LState) int
- func Println(L *lua.LState) int
- func SetFlags(L *lua.LState) int
- func SetOutput(L *lua.LState) int
- func SetPrefix(L *lua.LState) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Preload ¶
Preload adds log to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:
local log = require("log")
  
        func SetFlags ¶
SetFlags logger_ud:set_flags(config={})
config = {
  date = false, -- print date
  time = false, -- print time
  microseconds = false, -- print microseconds
  utc = false, -- use utc
  longfile = false -- print lua code line
}
  
        Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.