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

#include <gromacs/utility/logger.h>

Description

Represents a single logging level.

Typically this type is not used directly, but instances in MDLogger are simply accessed through GMX_LOG in code that writes to the log.

Public Member Functions

 LogLevelHelper (ILogTarget *target)
 Initializes a helper for writing to the given target.
 
 operator bool () const
 Returns whether the output for this log level goes anywhere.
 
 operator LogWriteHelper () const
 Creates a helper for GMX_LOG.
 

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