|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_logstream_h
17 #define dealii_logstream_h
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;
std::stack< std::string > & get_prefixes() const
Threads::ThreadLocalStorage< std::shared_ptr< std::ostringstream > > outstreams
Threads::ThreadLocalStorage< std::stack< std::string > > prefixes
VectorizedArray< Number, width > log(const ::VectorizedArray< Number, width > &x)
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
#define DEAL_II_NAMESPACE_OPEN
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 &))
#define DEAL_II_NAMESPACE_CLOSE
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)