HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
logging.h File Reference
#include <openvdb/version.h>
#include <iostream>
+ Include dependency graph for logging.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::logging::LevelScope
 A LevelScope object sets the logging level to a given level and restores it to the current level when the object goes out of scope. More...
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::logging
 

Macros

#define OPENVDB_LOG_INFO(mesg)
 
#define OPENVDB_LOG_WARN(mesg)   do { std::cerr << "WARNING: " << mesg << std::endl; } while (0);
 
#define OPENVDB_LOG_ERROR(mesg)   do { std::cerr << "ERROR: " << mesg << std::endl; } while (0);
 
#define OPENVDB_LOG_FATAL(mesg)   do { std::cerr << "FATAL: " << mesg << std::endl; } while (0);
 
#define OPENVDB_LOG_DEBUG(mesg)
 
#define OPENVDB_LOG_DEBUG_RUNTIME(mesg)
 

Enumerations

enum  openvdb::OPENVDB_VERSION_NAME::logging::Level {
  openvdb::OPENVDB_VERSION_NAME::logging::Level::Debug, openvdb::OPENVDB_VERSION_NAME::logging::Level::Info, openvdb::OPENVDB_VERSION_NAME::logging::Level::Warn, openvdb::OPENVDB_VERSION_NAME::logging::Level::Error,
  openvdb::OPENVDB_VERSION_NAME::logging::Level::Fatal
}
 

Functions

Level openvdb::OPENVDB_VERSION_NAME::logging::getLevel ()
 
void openvdb::OPENVDB_VERSION_NAME::logging::setLevel (Level)
 
void openvdb::OPENVDB_VERSION_NAME::logging::setLevel (int &, char *[])
 
void openvdb::OPENVDB_VERSION_NAME::logging::setProgramName (const std::string &, bool=true)
 
void openvdb::OPENVDB_VERSION_NAME::logging::initialize ()
 Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled). More...
 
void openvdb::OPENVDB_VERSION_NAME::logging::initialize (int &, char *[], bool=true)
 

Macro Definition Documentation

#define OPENVDB_LOG_DEBUG (   mesg)

Definition at line 280 of file logging.h.

#define OPENVDB_LOG_DEBUG_RUNTIME (   mesg)

Definition at line 281 of file logging.h.

#define OPENVDB_LOG_ERROR (   mesg)    do { std::cerr << "ERROR: " << mesg << std::endl; } while (0);

Definition at line 278 of file logging.h.

#define OPENVDB_LOG_FATAL (   mesg)    do { std::cerr << "FATAL: " << mesg << std::endl; } while (0);

Definition at line 279 of file logging.h.

#define OPENVDB_LOG_INFO (   mesg)

Definition at line 276 of file logging.h.

#define OPENVDB_LOG_WARN (   mesg)    do { std::cerr << "WARNING: " << mesg << std::endl; } while (0);

Definition at line 277 of file logging.h.