Struct xpcom::interfaces::nsIConsoleService [] [src]

#[repr(C)]
pub struct nsIConsoleService { /* fields omitted */ }

interface nsIConsoleService : nsISupports

Methods

impl nsIConsoleService
[src]

[src]

Cast this nsIConsoleService to one of its base interfaces.

impl nsIConsoleService
[src]

[src]

void logMessage (in nsIConsoleMessage message);

[src]

/**
     * Convenience method for logging simple messages.
     */

void logStringMessage (in wstring message);

[src]

/**
     * Get an array of all the messages logged so far.  If no messages
     * are logged, this function will return a count of 0, but still
     * will allocate one word for messages, so as to show up as a
     * 0-length array when called from script.
     */

void getMessageArray ([optional] out uint32_t count, [array, size_is (count), retval] out nsIConsoleMessage messages);

[src]

/**
     * To guard against stack overflows from listeners that could log
     * messages (it's easy to do this inadvertently from listeners
     * implemented in JavaScript), we don't call any listeners when
     * another error is already being logged.
     */

void registerListener (in nsIConsoleListener listener);

[src]

/**
     * Each registered listener should also be unregistered.
     */

void unregisterListener (in nsIConsoleListener listener);

[src]

/**
     * Clear the message buffer (e.g. for privacy reasons).
     */

void reset ();

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIConsoleService
[src]

IID: nsIID = nsID(246947104, 50046, 17108, [130, 168, 202, 154, 233, 107, 223, 82])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIConsoleService
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIConsoleService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.