Mantid
Loading...
Searching...
No Matches
Framework
TestHelpers
src
LoggingCleaner.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#include "
MantidKernel/Logger.h
"
8
9
class
LoggingCleaner
{
10
public
:
14
~LoggingCleaner
() {
Mantid::Kernel::Logger::shutdown
(); }
15
};
16
17
LoggingCleaner
theCleaner
;
Logger.h
theCleaner
LoggingCleaner theCleaner
Definition:
LoggingCleaner.cpp:17
LoggingCleaner
Definition:
LoggingCleaner.cpp:9
LoggingCleaner::~LoggingCleaner
~LoggingCleaner()
Cleanly shutdown the logging system on test shutdown.
Definition:
LoggingCleaner.cpp:14
Mantid::Kernel::Logger::shutdown
static void shutdown()
Shuts down the logging framework and releases all Loggers.
Definition:
Logger.cpp:282
Generated on Tue Jan 3 2023 11:57:59 for Mantid by
1.9.5