45#ifndef _INCLUDED_Field3D_Log_H_
46#define _INCLUDED_Field3D_Log_H_
50#include <boost/lexical_cast.hpp>
std::string bytesToString(int64_t bytes)
Converts a byte count into a human-readable string.
size_t currentRSS()
Returns the current resident memory size.
Contains logging-related functions.
Severity
Used by the Msg::print() call.
FIELD3D_API void print(Severity severity, const std::string &message)
Sends the string to the assigned output, prefixing the message with the severity.
FIELD3D_API void setVerbosity(int level=1)
Set the verbosity level of console output: 0 = do not echo anything to the console; >=1 = echo all me...
#define FIELD3D_NAMESPACE_HEADER_CLOSE