35 std::cout <<
prefix_msg() <<
": "<<
str.toStdString()<<std::endl;
65 std::string
msg =
str.toStdString();
66 fprintf(stderr,
"\033[1m\033[31mWarning:\033[21m\033[0m: %s\n",
msg.c_str() );
78 std::string
msg =
str.toStdString();
79 fprintf(stderr,
"\033[1m\033[31mWarning:\033[21m %s\033[0m\n",
msg.c_str() );
95 if (addtoend.isEmpty()) {
96 for (
const QString& s : l)
99 for (
const QString& s : l)
110 if (addtoend.isEmpty()) {
111 for (
const QString& s : l)
114 for (
const QString& s : l)
125 if (addtoend.isEmpty()) {
126 for (
const QString& s : l)
129 for (
const QString& s : l)
138 if (addtostart.isEmpty()) {
142 if (addtoend.isEmpty()) {
143 for (
const QString& s : l)
146 for (
const QString& s : l)
147 message(addtostart+s+addtoend,sys);
157 if (addtostart.isEmpty()) {
161 if (addtoend.isEmpty()) {
162 for (
const QString& s : l)
165 for (
const QString& s : l)
176 if (addtostart.isEmpty()) {
180 if (addtoend.isEmpty()) {
181 for (
const QString& s : l)
184 for (
const QString& s : l)
189#if defined BUILDVP1LIGHT
191 if( name ==
"ExpertSettings/VP1_VERBOSE_OUTPUT"){
199 if( name ==
"VP1_VERBOSE_OUTPUT"){
static const char * prefix_warning()
static void messageVerbose(const QString &)
static void messageDebug(const QString &)
static void message(const QString &, IVP1System *sys=0)
static std::atomic< bool > m_debug
static void messageWarningRed(const QString &str, IVP1System *sys=0)
static void messageWarningAllRed(const QString &str, IVP1System *sys=0)
static std::atomic< bool > m_verbose
static const char * prefix_msg()
static void messageWarning(const QString &, IVP1System *sys=0)
static const char * prefix_debug()
static const char * prefix_verbose()
static void enableMsg(const QString &)
static bool environmentVariableIsOn(const QString &name)
static bool expertSettingIsSet(const QString &type, const QString &name)
static bool environmentVariableIsSet(const QString &name)