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

MongoDB.Trace

Enables or disables trace.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 13.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.Trace" { ; Enable } )   More

Parameters

Parameter Description Example Flags
Enable Pass 1 to enable or 0 to disable.
Default is 1.
1 Optional

Result

Returns OK or error.

Description

Enables or disables trace.
If trace is enabled, MongoDB-c library will write a log of trace messages to console (stderr/stdout).
You see trace messages on macOS in the Terminal window, if you run FileMaker via Terminal.

Examples

Enable trace:

MBS( "MongoDB.Trace" )

Disable trace:

MBS( "MongoDB.Trace"; 0 )

See also

Release notes

Blog Entries

Created 22nd July 2023, last changed 22nd July 2023


MongoDB.Time - MongoDB.TransactionState