Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

info method

Sends an informational "message" to the console. The message is prefaced by an information icon.

Internet Explorer 10

 

Syntax

Console.info(message, optionalParams);

Parameters

message [in]

Type: DOMString

The message to display.

optionalParams [in]

Type: any

A value or string that can be used with replaceable parameters in the main message.

Return value

This method does not return a value.

Remarks

The optional parameters can be used to provide a replaceable value in the message. For example, you could include a specific message code as the optional parameter, rather than building a string by concatenating the information to the message string.


  function sendInfoConsole(infoMsg) {
        window.console.info("%s just finished", infoMsg);
    }


See also

Console

 

 

Show:
© 2015 Microsoft