LoggingHelpers.h 508 B

123456789101112131415161718192021
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the MIT License. See License.txt in the project root for license information.
  3. #pragma once
  4. #include "NonCopyable.h"
  5. #include "StandardStreamRedirection.h"
  6. class LoggingHelpers
  7. {
  8. public:
  9. static std::shared_ptr<RedirectionOutput>
  10. CreateOutputs(
  11. bool enableFileLogging,
  12. std::wstring outputFileName,
  13. std::wstring applicationPath,
  14. std::shared_ptr<RedirectionOutput> stringStreamOutput
  15. );
  16. };