main_UnixLike.cpp 630 B

123456789101112131415161718192021
  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. // LY Game Gem Crashpad Upload Handler - Posix
  9. #include <AzCore/Debug/Trace.h>
  10. #include <handler/handler_main.h>
  11. #include <Uploader/CrashUploader.h>
  12. int main(int argc, char** argv)
  13. {
  14. const AZ::Debug::Trace tracer;
  15. LOG(ERROR) << "Initializing non-windows crash uploader logging";
  16. return crashpad::HandlerMain(argc, argv, Lumberyard::CrashUploader::GetCrashUploader()->GetUserStreamSources());
  17. }