setDebugFile static method
Sets the debug file to be in the path path
with file name fileName
.
Invokes setDebugFileDirectory
and setDebugFileName
in sequence.
Throws an ArgumentError is path
or debugFileName
are empty or
if path
is not existent.
Implementation
static Future<void> setDebugFile(
final String path,
final String fileName,
) async {
await _setDebugFileDirectory(path);
_setDebugFileName(fileName);
}