summaryrefslogtreecommitdiffstats
path: root/src/actions.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-04-17 12:22:50 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-15 16:58:22 -0400
commitc5736432ac09d19cd0e513e11082a7637a196829 (patch)
tree913b2ca0f861f74a7effdd4d6999b4ab569c0ddb /src/actions.hpp
parentb0b82be89c328ff8205821803592ba08963464ee (diff)
downloadphosphor-dbus-monitor-c5736432ac09d19cd0e513e11082a7637a196829.tar.gz
phosphor-dbus-monitor-c5736432ac09d19cd0e513e11082a7637a196829.zip
Documentation only, no functional change
Added copyrights and comments within headers Change-Id: Iebb17ba34b82a6c80718ad32338105a5245e640c Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'src/actions.hpp')
-rw-r--r--src/actions.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/actions.hpp b/src/actions.hpp
index e1f53ad..e5269d1 100644
--- a/src/actions.hpp
+++ b/src/actions.hpp
@@ -13,6 +13,14 @@ namespace action
using namespace phosphor::logging;
+/**
+ * @brief An action to log an error with the given message
+ *
+ * @param[in] msg - The message to log
+ *
+ * @return Lambda function
+ * A lambda function to perform the log_error function
+ */
inline auto log_error(const char* msg)
{
return [=](auto&, auto&)
OpenPOWER on IntegriCloud