Module:Logger/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Logger
Module:Logger is required by Module:Enum.
This module is deprecated in favour of using mw.logObject(obj), but is still provided as an alternative.
This module is a helper module to be used by other modules; it may not designed to be invoked directly. See GSWiki:Lua/Helper modules for a full list and more information.
| Module | Function | Type | Use | Example |
|---|---|---|---|---|
| Logger | log(table) | table | Deprecated: usemw.logObject(obj) instead.
Logs the contents of the table to the console (does not expand subtables). Notes:
| |
deep_log(table) | table | Deprecated: usemw.logObject(obj) instead.
Logs the contents of the table to the console, expanding subtables. See above notes. | ||
dumpObject(table, options) | table, table/nil | Modified version of mw.dumpObject. Default values of the options are:
| ||
logObject(table, options) | table, table/nil | Uses dumpObject and prints its result to the console. | ||
logCleanTable(table, options) | table, table/nil | Uses dumpObject and prints its results to the console but has the following default options changed:
|
