Trace.IsEnabled
---------------

Queries trace on/off status.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Trace](component_Trace.md) | [11.2](newinversion112.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Trace.IsEnabled" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Queries trace on/off status.  
Returns 1 if trace has been enabled or 0 if not.  
  
Logging happens only if trace is enabled and not paused.  
### See also

- [Trace.IsPaused](TraceIsPaused.md)

### Release notes

- **Version 11.2**
    - Added [Trace.IsEnabled](https://www.mbsplugins.eu/TraceIsEnabled.shtml) and [Trace.IsPaused](https://www.mbsplugins.eu/TraceIsPaused.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 11.2](https://www.mbsplugins.de/archive/2021-05-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.2pr8](https://www.mbsplugins.de/archive/2021-05-14/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 13th May 2021 , last changed 13th May 2021

  
[Trace.GetWithTimes](TraceGetWithTimes.md) - [Trace.IsPaused](TraceIsPaused.md)

[HTML Version](TraceIsEnabled.shtml)