#include <logger.h>
|
| | DebugStream (const std::string &name) |
| |
|
bool | operator< (const DebugStream &other) const |
| |
|
const auto & | name () const |
| |
|
| static std::vector< std::string > | all () |
| |
| static const auto & | streamForName (const std::string &s) |
| |
A named debug stream. Debugging output can be send to it and will be written out during runtime by the Logger if it has enabled the stream.
◆ DebugStream()
| logging::DebugStream::DebugStream |
( |
const std::string & |
name | ) |
|
|
explicit |
- Parameters
-
| name | name of the stream, which must be unique across all stream |
◆ all()
| std::vector< std::string > logging::DebugStream::all |
( |
| ) |
|
|
static |
Returns the names of all available debug streams.
◆ streamForName()
| static const auto& hilti::logging::DebugStream::streamForName |
( |
const std::string & |
s | ) |
|
|
inlinestatic |
Returns the stream for a given name. The stream must exist.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/spicy-docs/checkouts/v1.14.0/hilti/toolchain/include/base/logger.h
- /home/docs/checkouts/readthedocs.org/user_builds/spicy-docs/checkouts/v1.14.0/hilti/toolchain/src/base/logger.cc