GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • Releases
  • Documentation
  • Help & Support
  • Contributing
  • GitHub

This view

  • Original page
  • New address

GeezerVison is showing luakit.github.io — Luakit API Documentation

Table of Contents

Pages

  • Authors
  • Frequently Asked Questions
  • Quick-start Guide
  • Migration Guide
  • Files and Directories
  • Running the Test Suite
  • Building a Debian Package

Modules

  • adblock
  • adblock_chrome
  • binds
  • binds_chrome
  • bookmarks
  • bookmarks_chrome
  • chrome
  • clear_data
  • cmdhist
  • completion
  • domain_props
  • downloads
  • downloads_chrome
  • editor
  • error_page
  • follow
  • follow_selected
  • formfiller
  • go_input
  • go_next_prev
  • go_up
  • gopher
  • help_chrome
  • hide_scrollbars
  • history
  • history_chrome
  • image_css
  • introspector_chrome
  • ipc
  • keysym
  • log_chrome
  • lousy.bind
  • lousy.load
  • lousy.mode
  • lousy.pickle
  • lousy.signal
  • lousy.theme
  • lousy.uri
  • lousy.util
  • lousy.widget
  • lousy.widget.buf
  • lousy.widget.common
  • lousy.widget.hist
  • lousy.widget.menu
  • lousy.widget.progress
  • lousy.widget.scroll
  • lousy.widget.ssl
  • lousy.widget.tab
  • lousy.widget.tabi
  • lousy.widget.tablist
  • lousy.widget.tgname
  • lousy.widget.uri
  • lousy.widget.zoom
  • luakit
  • luakit.unique
  • modes
  • msg
  • newtab_chrome
  • noscript
  • open_editor
  • proxy
  • quickmarks
  • readline
  • referer_control_wm
  • search
  • select
  • select_wm
  • session
  • settings
  • settings_chrome
  • soup
  • styles
  • tab_favicons
  • tabgroups
  • tabhistory
  • tabmenu
  • taborder
  • tests.lib
  • undoclose
  • unique_instance
  • userscripts
  • utf8
  • vertical_tabs
  • view_source
  • viewpdf
  • webinspector
  • webview
  • window
  • xdg

Classes

  • dom_document
  • dom_element
  • download
  • page
  • regex
  • sqlite3
  • stylesheet
  • timer
  • widget
  • widget:box
  • widget:drawing_area
  • widget:entry
  • widget:event_box
  • widget:image
  • widget:label
  • widget:notebook
  • widget:overlay
  • widget:paned
  • widget:scrolled
  • widget:socket
  • widget:spinner
  • widget:webview
  • widget:window

Module msg

Message logging support for Lua

This built-in library offers support for logging messages from Lua code. Five verbosity levels are available. By default, verbose and debug messages are not shown, but this can be changed when launching Luakit.

All parameters are converted to strings. A newline is automatically appended.

webview.add_signal("init", function (view)
    msg.debug("Opening a new web view <%d>", view.id)
end)

Functions

msg.fatal (format, ...)

Log a fatal error message, and abort the program.

Parameters

  • format
    Type: string
    Format string.
  • ...
    Type: any type
    Additional arguments referenced from the format string.

msg.warn (format, ...)

Log a warning message.

Parameters

  • format
    Type: string
    Format string.
  • ...
    Type: any type
    Additional arguments referenced from the format string.

msg.info (format, ...)

Log an informational message.

Parameters

  • format
    Type: string
    Format string.
  • ...
    Type: any type
    Additional arguments referenced from the format string.

msg.verbose (format, ...)

Log a verbose message.

Parameters

  • format
    Type: string
    Format string.
  • ...
    Type: any type
    Additional arguments referenced from the format string.

msg.debug (format, ...)

Log a debug message.

Parameters

  • format
    Type: string
    Format string.
  • ...
    Type: any type
    Additional arguments referenced from the format string.

Signals

"log"

Emitted when a message is logged. This signal is not emitted for messages below the current log level.

Parameters

  • level
    Type: string
    The level at which the message was logged.
  • group
    Type: string
    The origin of the message.
  • msg
    Type: string
    The message itself. May contain ANSI color escape codes.

Attribution

Copyright

  • 2016 Aidan Holm
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.