Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
LogCatcher.h
1 //
2 // Copyright (c) 2002-2011 Virtual Terrain Project
3 // Free for all uses, see license.txt for details.
4 //
5 
6 #pragma once
7 
8 #include "vtdata/vtLog.h"
9 
11 class LogCatcher : public wxLog
12 {
13  void DoLogText(const wxString& msg)
14  {
15  VTLOG1(" wxLog: ");
16  VTLOG1(msg.ToUTF8());
17  VTLOG1("\n");
18  }
19 };