1 // Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
3 using Microsoft
.VisualStudio
;
4 using Microsoft
.VisualStudio
.Shell
.Interop
;
6 namespace CryEngine
.Debugger
.Mono
8 public static class OutputHandler
10 private static CryEngineDebugPackage _package
;
11 private static IVsOutputWindowPane _pane
;
13 private static IVsOutputWindowPane Pane
19 _pane
= _package
.GetOutputPane(VSConstants
.OutputWindowPaneGuid
.DebugPane_guid
, "Output");
25 internal static void Initialize(CryEngineDebugPackage package
)
30 internal static void LogMessage(object message
)
32 Pane
?.OutputStringThreadSafe(string.Format("{0}\n", message
.ToString()));