/usr/include/sopt/logging.disabled.h is in libsopt-dev 2.0.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #ifndef SOPT_LOGGING_DISABLED_H
#define SOPT_LOGGING_DISABLED_H
#include "sopt/config.h"
#include <memory>
#include <string>
namespace sopt {
namespace logging {
//! Name of the sopt logger
const std::string name_prefix = "sopt::";
inline std::shared_ptr<int> initialize(std::string const &) { return nullptr; }
inline std::shared_ptr<int> initialize() { return nullptr; }
inline std::shared_ptr<int> get(std::string const &) { return nullptr; }
inline std::shared_ptr<int> get() { return nullptr; }
inline void set_level(std::string const &, std::string const &){};
inline void set_level(std::string const &){};
inline bool has_level(std::string const &, std::string const &) { return false; }
}
}
//! \macro For internal use only
#define SOPT_LOG_(...)
#endif
|