SWDEV-272673 - Add changes to dump log to a file

Env var AMD_LOG_LEVEL_FILE would dump the log to file.
Change-Id: I6add4a1ae6788f376ce116797cc0573007502e73
This commit is contained in:
Saleel Kudchadker
2021-02-14 14:15:34 -08:00
förälder 196fada9c8
incheckning 0f14c54c04
5 ändrade filer med 39 tillägg och 12 borttagningar
+3
Visa fil
@@ -93,6 +93,9 @@ void Runtime::tearDown() {
Device::tearDown();
option::teardown();
Flag::tearDown();
if (outFile != stderr && outFile != nullptr) {
fclose(outFile);
}
initialized_ = false;
}