Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Log
Writes the given values to the debug console.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Utility | 2.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Log"; Params... ) More
Parameters
Parameter | Description | Example |
---|---|---|
Params... | Several parameters which are concated. | "Test: ";$test |
Description
Writes the given values to the debug console.On Mac use Console.app in the Application Utilities folder. On Windows use DebugView application from Microsoft.
On Windows with a FileMaker Server, you can see debug messages in DebugView if you run DebugView application as admin and enable global Win32 listening.
For FileMaker Server on macOS you can see messages in /Library/FileMaker Server/Logs/stderr file.
This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Params parameter as often as you need.
Examples
Log a message:
Set Variable [ $r; Value: MBS( "Log"; "Test: "; $test ) ]
See also
Blog Entries
- Use Perform Script on Server inside Data API script
- MBS @ FMTraining.TV - Debugging your FileMaker Servers with the MonkeyBread Plug-in
- How to use Trace
- Additional iOS Script Triggers
- Install MBS Plugin on a FileMaker Server
- Evaluate vs. Script Trigger
- Logging in FileMaker
This function is free to use.
Created 18th August 2014, last changed 15th July 2023