Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
logger.cpp File Reference
#include <cstdlib>
#include <time.h>
#include "logger.h"
#include <iostream>
Include dependency graph for logger.cpp:

Go to the source code of this file.

Functions

LoggerwriteVerbose (Logger &logger)
Loggerwrite (Logger &logger)

Function Documentation

◆ write()

Logger & write ( Logger & logger)

C++-style stream manipulator which tells Logger to write the contents of the stream buffer into the file. The stream buffer is cleared after a successful write. You need to insert "write" into the input stream whenever you want to write to the logfile, endl or flush will not do that. Argument is false because it writes non-verbose output.

Parameters
loggerReference to Logger.
Returns
Reference to Logger.

Definition at line 193 of file logger.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeVerbose()

Logger & writeVerbose ( Logger & logger)

C++-style stream manipulator which tells Logger to write the contents of the stream buffer into the file. The stream buffer is cleared after a successful write. You need to insert "write" into the input stream whenever you want to write to the logfile, endl or flush will not do that. Argument is true because it writes verbose output.

Parameters
loggerReference to Logger.
Returns
Reference to Logger.

Definition at line 177 of file logger.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: