|
Field3D
|
Contains implementations of the logging-related functions. More...
Go to the source code of this file.
Namespaces | |
| namespace | Msg |
| Contains logging-related functions. | |
Functions | |
| std::string | bytesToString (int64_t bytes) |
| Converts a byte count into a human-readable string. More... | |
| size_t | currentRSS () |
| Returns the current resident memory size. More... | |
| FIELD3D_API void | Msg::print (Severity severity, const std::string &message) |
| Sends the string to the assigned output, prefixing the message with the severity. More... | |
| FIELD3D_API void | Msg::setVerbosity (int level=1) |
| Set the verbosity level of console output: 0 = do not echo anything to the console; >=1 = echo all messages and warnings to the console. More... | |
Variables | |
| static int | Msg::g_verbosity = 1 |
Contains implementations of the logging-related functions.
Definition in file Log.cpp.
| std::string bytesToString | ( | int64_t | bytes | ) |
Converts a byte count into a human-readable string.
Definition at line 101 of file Log.cpp.
| size_t currentRSS | ( | ) |
Returns the current resident memory size.
Only implemented for Linux at the moment.
Definition at line 136 of file Log.cpp.