 |
Reference documentation for deal.II version 9.1.1
|
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
16 #ifndef dealii_logstream_h
17 #define dealii_logstream_h
19 #include <deal.II/base/config.h>
21 #include <deal.II/base/exceptions.h>
22 #include <deal.II/base/smartpointer.h>
23 #include <deal.II/base/subscriptor.h>
24 #include <deal.II/base/thread_local_storage.h>
34 DEAL_II_NAMESPACE_OPEN
110 Prefix(
const std::string &text);
157 const bool print_job_id =
true,
158 const std::ios_base::fmtflags
flags = std::ios::showpoint |
212 push(
const std::string &text);
269 width(
const std::streamsize wide);
278 flags(
const std::ios::fmtflags f);
296 operator<<(std::ostream &(*p)(std::ostream &));
315 std::stack<std::string> &
381 template <
typename T>
398 template <
typename T>
403 log.get_stream() << t;
418 DEAL_II_NAMESPACE_CLOSE
std::stack< std::string > & get_prefixes() const
Threads::ThreadLocalStorage< std::shared_ptr< std::ostringstream > > outstreams
Threads::ThreadLocalStorage< std::stack< std::string > > prefixes
bool log_thread_id(const bool flag)
std::ostringstream & get_stream()
std::ostream & get_file_stream()
Prefix(const std::string &text)
std::ios::fmtflags flags(const std::ios::fmtflags f)
std::size_t memory_consumption() const
unsigned int depth_file(const unsigned int n)
std::streamsize precision(const std::streamsize prec)
A class that provides a separate storage location on each thread that accesses the object.
std::ostream & get_console()
unsigned int depth_console(const unsigned int n)
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
SmartPointer< LogStream, LogStream::Prefix > stream
LogStream & operator<<(std::ostream &(*p)(std::ostream &))
VectorizedArray< Number > log(const ::VectorizedArray< Number > &x)
void attach(std::ostream &o, const bool print_job_id=true, const std::ios_base::fmtflags flags=std::ios::showpoint|std::ios::left)
const std::string & get_prefix() const
std::streamsize width(const std::streamsize wide)
void push(const std::string &text)