eckit::Channel class

Output channel that is an std::ostream but more functional.

Constructors, destructors, conversion operators

Channel(LogTarget* = 0)
~Channel() override
operator bool() const

Public functions

auto operator!() const -> bool
void indent(const char* prefix = "")
void unindent()
void setStream(std::ostream& out)
void addStream(std::ostream& out)
void setFile(const std::string& path)
void addFile(const std::string& path)
void setCallback(channel_callback_t cb, void* data = 0)
void addCallback(channel_callback_t cb, void* data = 0)
void setTarget(LogTarget*)
void addTarget(LogTarget*)
void reset()
auto bad(T... args) -> T
auto clear(T... args) -> T
auto copyfmt(T... args) -> T
auto eof(T... args) -> T
auto exceptions(T... args) -> T
auto fail(T... args) -> T
auto fill(T... args) -> T
auto flags(T... args) -> T
auto flush(T... args) -> T
auto getloc(T... args) -> T
auto good(T... args) -> T
auto imbue(T... args) -> T
auto init(T... args) -> T
auto iword(T... args) -> T
auto move(T... args) -> T
auto narrow(T... args) -> T
auto operator bool(T... args) -> T
auto operator!(T... args) -> T
auto operator<<(T... args) -> T
auto precision(T... args) -> T
auto put(T... args) -> T
auto pword(T... args) -> T
auto rdbuf(T... args) -> T
auto rdstate(T... args) -> T
auto register_callback(T... args) -> T
auto seekp(T... args) -> T
auto set_rdbuf(T... args) -> T
auto setf(T... args) -> T
auto setstate(T... args) -> T
auto swap(T... args) -> T
auto sync_with_stdio(T... args) -> T
auto tellp(T... args) -> T
auto tie(T... args) -> T
auto unsetf(T... args) -> T
auto widen(T... args) -> T
auto width(T... args) -> T
auto write(T... args) -> T
auto xalloc(T... args) -> T

Friends

auto operator<<(std::ostream& os, const Channel& c) -> std::ostream&