Share via


SP.ULS.log(debugMessage) Method

Applies to: SharePoint Foundation 2010

Logs the specified debug message.

SP.ULS.log(debugMessage);

Parameters

debugMessage

Type: String

The debug message to be logged.

Remarks

This method logs the message with a time stamp. If any log messages are pending, this method also logs them. If the message cannot be logged, the message is added to the list of pending log messages.

Applies To

SP.ULS Class

See Also

Reference

SP.ULS Methods

SP.ULS Properties

SP Namespace