Gromacs  2026.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
gmx::LogEntryWriter Class Reference

#include <gromacs/utility/include/gromacs/utility/logger.h>

Description

Helper class for creating log entries with GMX_LOG.

Public Member Functions

LogEntryWriter & appendText (const char *text)
 Appends given text as a line in the log entry.
 
LogEntryWriter & appendText (const std::string &text)
 Appends given text as a line in the log entry.
 
LogEntryWriter & appendTextFormatted (gmx_fmtstr const char *fmt,...) gmx_format(printf
 Appends given text as a line in the log entry, with printf-style formatting.
 
LogEntryWriter LogEntryWriter & asParagraph ()
 Writes the log entry with empty lines before and after.
 

Friends

class LogWriteHelper
 

The documentation for this class was generated from the following files: