Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Trace.SetErrorsOnly

Sets whether to only log trace.

Component Version macOS Windows Linux Server iOS SDK
Trace 9.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Trace.SetErrorsOnly"; Value )   More

(old name: Trace.ErrorsOnly)

Parameters

Parameter Description Example
Value The new setting. 1

Result

Returns OK or error.

Description

Sets whether to only log trace.

Examples

Start log on desktop folder and include all calls with times:

Set Variable [ $FilePath ; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserDesktop" ); "trace.txt" ) ]
Set Variable [ $a ; Value: MBS( "Trace.SetErrorsOnly"; 0 ) ]
Set Variable [ $b ; Value: MBS( "Trace.SetWithTimes"; 1 ) ]
Set Variable [ $c ; Value: MBS("Trace"; $FilePath) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 16th July 2019, last changed 28th March 2021


Trace.Resume - Trace.SetServerLogPath