ppap4lmp  0.7.2
message.h
Go to the documentation of this file.
1 
8 #ifndef UTILS_MESSAGE_H
9 #define UTILS_MESSAGE_H
10 
11 #include <alias/std.h>
12 
14 namespace utils
15 {
24  void _message(
25  const Str &msg);
26 
35  void log(
36  const Str &msg);
37 
46  void warning(
47  const Str &msg);
48 
61  void log_switch(
62  bool input);
63 }
64 
65 #endif
void _message(const Str &msg)
Print to standard output.
Definition: message.cpp:18
std::string Str
Str is an alias for string.
Definition: std.h:21
This file includes a part of C++ Standard Template Library and defines aliases for them...
void warning(const Str &msg)
Waning with a message.
Definition: message.cpp:40
void log(const Str &msg)
Logging a message.
Definition: message.cpp:29
Namespace for utility functions.
Definition: join.h:14
void log_switch(bool input)
Switch on/off logging.
Definition: message.cpp:48