Page MenuHomec4science

init_log.hpp
No OneTemporary

File Metadata

Created
Mon, May 20, 21:49

init_log.hpp

#ifndef SPECMICP_CYTHON_INITLOG_HPP
#define SPECMICP_CYTHON_INITLOG_HPP
#include "utils/log.hpp"
#include <iostream>
namespace specmicp {
inline void init_logger_cout_debug() {
init_logger(&std::cout, specmicp::logger::Debug);
}
inline void init_logger_cout_warning() {
init_logger(&std::cout, specmicp::logger::Warning);
}
inline void init_logger_cout_error() {
init_logger(&std::cout, specmicp::logger::Error);
}
inline void init_logger_cerr_debug() {
init_logger(&std::cerr, specmicp::logger::Debug);
}
inline void init_logger_cerr_warning() {
init_logger(&std::cerr, specmicp::logger::Warning);
}
inline void init_logger_cerr_error() {
init_logger(&std::cerr, specmicp::logger::Error);
}
} // end namespace specmicp
#endif // SPECMICP_CYTHON_INITLOG_HPP

Event Timeline