configureForTest static method
void
configureForTest({})
Implementation
static void configureForTest({
bool? enabled,
String? path,
String? baseDirectory,
bool captureEnabled = false,
String? tagsRaw,
DateTime Function()? nowProvider,
bool clear = false,
}) {
_testOverride = true;
_testEnabled = enabled;
_testPath = path;
_testBaseDirectory = baseDirectory;
_testCaptureEnabled = captureEnabled ? true : null;
_testTagsRaw = tagsRaw;
_testNowProvider = nowProvider;
_resolved = false;
}