42 #include <geogram/basic/logger.h> 54 static void div(
const std::string& title )
56 std::lock_guard< std::mutex > lock( lock_ );
57 GEO::Logger::div( title );
60 template <
typename... Args >
61 static void out(
const std::string& feature,
const Args&... args )
63 std::lock_guard< std::mutex > lock( lock_ );
64 log( GEO::Logger::out( feature ), args... );
67 template <
typename... Args >
68 static void err(
const std::string& feature,
const Args&... args )
70 std::lock_guard< std::mutex > lock( lock_ );
71 log( GEO::Logger::err( feature ), args... );
74 template <
typename... Args >
75 static void warn(
const std::string& feature,
const Args&... args )
77 std::lock_guard< std::mutex > lock( lock_ );
78 log( GEO::Logger::warn( feature ), args... );
83 return GEO::Logger::instance();
87 static void log( std::ostream& os )
92 template <
class A0,
class... Args >
93 static void log( std::ostream& os,
const A0& a0,
const Args&... args )
static void warn(const std::string &feature, const Args &... args)
static void div(const std::string &title)
static void log(std::ostream &os)
static void err(const std::string &feature, const Args &... args)
static void out(const std::string &feature, const Args &... args)
static GEO::Logger * instance()
Classes to build GeoModel from various inputs.
static void log(std::ostream &os, const A0 &a0, const Args &... args)