TraceMessageHook.h 577 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Debug/TraceMessageBus.h>
  10. namespace SceneBuilder
  11. {
  12. class TraceMessageHook
  13. : public AZ::Debug::TraceMessageBus::Handler
  14. {
  15. public:
  16. TraceMessageHook();
  17. ~TraceMessageHook() override;
  18. bool OnPrintf(const char* window, const char* message) override;
  19. };
  20. } // namespace SceneBuilder