MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    console/plain-text

    Unstable

    Constructor for a console instance.

    Usage

    The plain-text console is a constructor for creating a console object to be used for traditional logging purposes. It's implemented using Console.jsm, and is prefixed with the addon's name, and log levels set based off of startup instruction. An instance of the console is injected globally into addon's contexts.

    Globals

    Constructors

    PlainTextConsole(print)

    Creates a console instance. All of its methods are inherited from Console.jsm (resource://gre/modules/devtools/Console.jsm).

    Parameters

    print : Function
    An optional function to process the arguments passed in before printing to stdout.

    Document Tags and Contributors

    Contributors to this page: wbamberg, jsantell
    Last updated by: wbamberg,
    Hide Sidebar