Commit af1dbc50 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[trac747] Add doxygen params

parent 03d70771
......@@ -163,6 +163,8 @@ public:
}
/// \brief String version of arg.
///
/// \param arg The text to place into the placeholder.
Formatter& arg(const std::string& arg) {
if (logger_) {
// Note that this method does a replacement and returns the
......@@ -182,7 +184,8 @@ public:
/// \brief Exception version of arg.
///
/// Simply for convenience, so the .what() doesn't have to be typed.
/// \param e An exception which the "what()" is extracted an put into the
/// message.
Formatter& arg(const std::exception& e) {
if (logger_) {
return (arg(e.what()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment