#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <ignition/common/Util.hh>
#include <ignition/common/Export.hh>
#include <ignition/common/SuppressWarning.hh>
Go to the source code of this file.
|
#define | igndbg (Console::dbg(__FILE__, __LINE__)) |
| Output a debug message, if the verbose level is >= 4. More...
|
|
#define | ignerr (Console::err(__FILE__, __LINE__)) |
| Output an error message, if the verbose level is >= 1. More...
|
|
#define | ignlog (Console::log()) |
| Output a message to a log file, regardless of verbosity level. More...
|
|
#define | ignLogDirectory() (Console::log.LogDirectory()) |
| Get the full path of the directory where the log files are stored. More...
|
|
#define | ignLogInit(_dir, _file) Console::log.Init(_dir, _file) |
| Initialize log file with filename given by _str. If called twice, it will close currently in use and open a new log file. More...
|
|
#define | ignmsg (Console::msg()) |
| Output a message, if the verbose level is >= 3. More...
|
|
#define | ignwarn (Console::warn(__FILE__, __LINE__)) |
| Output a warning message, if the verbose level is >= 2. More...
|
|
◆ igndbg
#define igndbg (Console::dbg(__FILE__, __LINE__)) |
Output a debug message, if the verbose level is >= 4.
◆ ignerr
#define ignerr (Console::err(__FILE__, __LINE__)) |
Output an error message, if the verbose level is >= 1.
◆ ignlog
#define ignlog (Console::log()) |
Output a message to a log file, regardless of verbosity level.
◆ ignLogDirectory
#define ignLogDirectory |
( |
| ) |
(Console::log.LogDirectory()) |
Get the full path of the directory where the log files are stored.
- Returns
- Full path of the directory
◆ ignLogInit
#define ignLogInit |
( |
|
_dir, |
|
|
|
_file |
|
) |
| Console::log.Init(_dir, _file) |
Initialize log file with filename given by _str. If called twice, it will close currently in use and open a new log file.
- Parameters
-
[in] | _dir | Name of directory in which to store the log file. Note that _dir must be relative to your home directory. |
[in] | _file | Name of log file for ignlog messages. |
◆ ignmsg
#define ignmsg (Console::msg()) |
Output a message, if the verbose level is >= 3.
◆ ignwarn
#define ignwarn (Console::warn(__FILE__, __LINE__)) |
Output a warning message, if the verbose level is >= 2.