lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Log stream class. More...
#include <log.h>
Inherits noncopyable.
Public Types | |
typedef log::output_stream | output_stream |
Output stream type. | |
typedef std::basic_ostream < output_stream::char_type, output_stream::traits_type > | basic_output_stream |
Basic output stream type. | |
typedef std::basic_ios < output_stream::char_type, output_stream::traits_type > | basic_output_ios |
Basic output ios type. | |
Public Member Functions | |
log_stream_out (log &log) | |
Constructs a new TEMPORARY log stream from the log. | |
~log_stream_out () | |
Prints the contents of this log stream and releases it for further re-use. | |
template<class Value > | |
log_stream_out & | operator<< (const Value &value) |
Outputs the given value to this log stream. | |
log_stream_out & | operator<< (std::ios_base &(*manip)(::std::ios_base &)) |
log_stream_out & | operator<< (basic_output_stream &(*manip)(basic_output_stream &)) |
log_stream_out & | operator<< (basic_output_ios &(*manip)(basic_output_ios &)) |
output_stream & | std () |
Gets the underlying output stream. |
Log stream class.