17 #ifndef GZ_COMMON_CONSOLE_HH_
18 #define GZ_COMMON_CONSOLE_HH_
27 #include <gz/common/Export.hh>
28 #include <gz/utils/SuppressWarning.hh>
37 #define gzerr (gz::common::Console::err(__FILE__, __LINE__))
41 #define gzwarn (gz::common::Console::warn(__FILE__, __LINE__))
42 #define ignwarn gzwarn
45 #define gzmsg (gz::common::Console::msg())
49 #define gzdbg (gz::common::Console::dbg(__FILE__, __LINE__))
53 #define gzlog (gz::common::Console::log())
63 #define gzLogInit(_dir, _file)\
64 gz::common::Console::log.Init(_dir, _file)
65 #define ignLogInit(_dir, _file) gzLogInit(_dir, _file)
69 gz::common::Console::log.Close()
70 #define ignLogClose() gzLogClose()
74 #define gzLogDirectory()\
75 (gz::common::Console::log.LogDirectory())
76 #define ignLogDirectory() gzLogDirectory()
147 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
151 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
154 private:
bool initialized;
177 const LogType _type,
const int _verbosity);
203 const int _verbosity);
236 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
239 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
297 private:
static int verbosity;
299 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
302 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING