Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Log

Log.debug("...")   -- 仅开发版写入文件
Log.info("...")
Log.warn("...")
Log.error("...")

参数可以是任意值,会用制表符连接。日志写到 kmod/logs/kmod.log,行首标签是模组 id,格式见调试与日志。print(...) 等价于 Log.info(...)。