cblIncludeTracePoints top-level constant
bool
const cblIncludeTracePoints
Whether CBL Dart trace points should be included when compiling a Dart program.
Since this value is a compile time constant, code branches based on this value will be compiled out when not needed.
Functions which use this value should be annotated with
@pragma('vm:prefer-inline')
, to make trace points a zero-cost abstraction
when --define=cblIncludeTracePoints=false
is set.
This value is set to true
by default.
Implementation
const cblIncludeTracePoints =
// ignore: do_not_use_environment
bool.fromEnvironment('cblIncludeTracePoints', defaultValue: true);