hpx/logging/format/destinations.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
util
-
namespace
logging
¶ -
namespace
destination
¶ Destination is a manipulator. It contains a place where the message, after being formatted, is to be written to.
Some viable destinations are : the console, a file, a socket, etc.
-
struct
cerr
: public hpx::util::logging::destination::manipulator¶ - #include <destinations.hpp>
Writes the string to cerr.
Public Functions
-
~cerr
()¶
Protected Functions
-
cerr
()¶
-
-
struct
cout
: public hpx::util::logging::destination::manipulator¶ - #include <destinations.hpp>
Writes the string to console.
Public Functions
-
~cout
()¶
Protected Functions
-
cout
()¶
-
-
struct
dbg_window
: public hpx::util::logging::destination::manipulator¶ - #include <destinations.hpp>
Writes the string to output debug window.
For non-Windows systems, this is the console.
Public Functions
-
~dbg_window
()¶
Public Static Functions
-
static std::unique_ptr<dbg_window>
make
()¶
Protected Functions
-
dbg_window
()¶
-
-
struct
file
: public hpx::util::logging::destination::manipulator¶ - #include <destinations.hpp>
Writes the string to a file.
Public Functions
-
~file
()¶
Public Static Functions
-
static std::unique_ptr<file>
make
(std::string const &file_name, file_settings set = {})¶ constructs the file destination
- Parameters
file_name
: name of the fileset
: [optional] file settings - see file_settings class, and dealing_with_flags
Protected Functions
-
file
(std::string const &file_name, file_settings set)¶
-
-
struct
stream
: public hpx::util::logging::destination::manipulator¶ - #include <destinations.hpp>
writes to stream.
- Note
: The stream must outlive this object! Or, clear() the stream, before the stream is deleted.
-
struct
-
namespace
-
namespace
-
namespace