Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem