WinJS.Utilities.formatLog function
Adds tags and type to a logging message.
Syntax
var string = WinJS.Utilities.formatLog(message, tag, type);
Parameters
message
Type: StringThe message to be formatted.
tag
Type: StringThe tag(s) to be applied to the message. Multiple tags should be separated by spaces
type
Type: StringThe type of the message.
Return value
Type: String
The formatted message.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |