Skip to end of metadata
Go to start of metadata

Purpose

This property allows you to get or set whether logging is to take place on the process this property is set from.  If you set this property in a script, then all logging entries from procedures run from the script are stopped.  If this property is set from a plug-in, then logging from that plug-in is prevented until NoLog is reset or the plug-in is shut-down and restarted.


Parameters

Parameter: NoLog
Type: Boolean
Description: When set to True, logging for the process thread is turned off.


Returns

Return value: NoLog
Type: Boolean
Description: Provides the current NoLog setting for the process the property is retrieved from.


Example

To disable logging for the current process thread (script, plug-in, event):

Sample Code
hs.NoLog = True


Note

Log entries (e.g. WriteLogDetail) which include a Priority value of 1 (highest) are always written regardless of the NoLog setting.

  • No labels