16#ifndef dealii_logstream_h
17#define dealii_logstream_h
109 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> &
388 template <
typename T>
410 log.get_stream() << t;
OutputOperator< VectorType > & operator<<(OutputOperator< VectorType > &out, unsigned int step)
SmartPointer< LogStream, LogStream::Prefix > stream
Prefix(const std::string &text)
std::thread::id parent_thread
std::streamsize width(const std::streamsize wide)
std::ostream & get_console()
std::size_t memory_consumption() const
void push(const std::string &text)
Threads::ThreadLocalStorage< std::shared_ptr< std::ostringstream > > outstreams
std::ios::fmtflags flags(const std::ios::fmtflags f)
void attach(std::ostream &o, const bool print_job_id=true, const std::ios_base::fmtflags flags=std::ios::showpoint|std::ios::left)
std::streamsize precision(const std::streamsize prec)
std::ostream & get_file_stream()
unsigned int depth_console(const unsigned int n)
LogStream & operator<<(std::ostream &(*p)(std::ostream &))
std::ostringstream & get_stream()
unsigned int depth_file(const unsigned int n)
bool log_thread_id(const bool flag)
Threads::ThreadLocalStorage< std::stack< std::string > > prefixes
std::stack< std::string > & get_prefixes() const
const std::string & get_prefix() const
A class that provides a separate storage location on each thread that accesses the object.
VectorizedArray< Number, width > log(const ::VectorizedArray< Number, width > &x)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
::VectorizedArray< Number, width > log(const ::VectorizedArray< Number, width > &)