64 int verbosity() const noexcept {
return m_verbosity; }
70 virtual void operator()(
int errcode,
const std::string& msg);
87 template<
typename... Args>
90 if (verbosity() >= VERBOSE)
97 template<
typename... Args>
100 if (verbosity() >=
NORMAL)
106 template<
typename... Args>
114 template<
typename... Args>
123 template<
typename... Args>
126 if (verbosity() > QUIET)
133 template<
typename... Args>
135 const Args&...
args OIIO_MAYBE_UNUSED)
147 template<
typename... Args>
150 if (verbosity() >= VERBOSE)
154 template<
typename... Args>
157 if (verbosity() >=
NORMAL)
161 template<
typename... Args>
167 template<
typename... Args>
173 template<
typename... Args>
176 if (verbosity() > QUIET)
180 template<
typename... Args>
182 const Args&...
args OIIO_MAYBE_UNUSED)
194 template<
typename... Args>
197 if (verbosity() >= VERBOSE)
201 template<
typename... Args>
204 if (verbosity() >=
NORMAL)
208 template<
typename... Args>
214 template<
typename... Args>
220 template<
typename... Args>
223 if (verbosity() > QUIET)
227 template<
typename... Args>
GLuint GLsizei const GLchar * message
void debugf(const char *format OIIO_MAYBE_UNUSED, const Args &...args OIIO_MAYBE_UNUSED)
void error(const std::string &msg)
void messagefmt(const char *format, const Args &...args)
void severef(const char *format, const Args &...args)
std::string format(const Str &fmt, Args &&...args)
GLsizei const GLchar *const * string
OIIO_FORMAT_DEPRECATED void error(const char *format, const Args &...args)
OIIO_FORMAT_DEPRECATED void debug(const char *format OIIO_MAYBE_UNUSED, const Args &...args OIIO_MAYBE_UNUSED)
void warning(const std::string &msg)
void severe(const std::string &msg)
String-related utilities, all in namespace Strutil.
void warningf(const char *format, const Args &...args)
void debug(const std::string &msg)
void debugfmt(const char *format, const Args &...args)
OIIO_FORMAT_DEPRECATED void message(const char *format, const Args &...args)
GLint GLint GLsizei GLint GLenum format
void verbosity(int v) noexcept
Set desired verbosity level.
void warningfmt(const char *format, const Args &...args)
void errorf(const char *format, const Args &...args)
void infof(const char *format, const Args &...args)
OIIO_FORMAT_DEPRECATED void warning(const char *format, const Args &...args)
OIIO_API void debug(string_view str)
void messagef(const char *format, const Args &...args)
void infofmt(const char *format, const Args &...args)
OIIO_FORMAT_DEPRECATED void info(const char *format, const Args &...args)
**If you just want to fire and args
#define OIIO_FORMAT_DEPRECATED
void info(const std::string &msg)
#define OIIO_NAMESPACE_END
auto sprintf(const S &fmt, const T &...args) -> std::basic_string< Char >
int verbosity() const noexcept
Return the current verbosity level.
void message(const std::string &msg)
void severefmt(const char *format, const Args &...args)
void errorfmt(const char *format, const Args &...args)
#define OIIO_NAMESPACE_BEGIN
OIIO_FORMAT_DEPRECATED void severe(const char *format, const Args &...args)