summaryrefslogtreecommitdiffstats
path: root/elog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add .clang-formatPatrick Venture2018-10-261-13/+8
| | | | | Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52 Signed-off-by: Patrick Venture <venture@google.com>
* Implement ability to override default error levelDeepak Kodihalli2018-04-091-8/+25
| | | | | | | | | | | | | Errors reported by the phosphor-logging app have a default error level, and this level is specified in the error's YAML definition. Enable users of the error's report() API to specify an error level. A user may perceive a different error level for an error scenario, for eg there may be certain host errors (for which we set the level as 'Error') that may just be 'Warnings'. Change-Id: I666a0ddcb099e530c423358a3b1c65f33b0ad01e Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add new commit API and deprecate older commit methodMarri Devender Rao2017-04-121-3/+12
| | | | | | | | Added new commit method that accepts an sdbusplus exception Deprecate commit which accepts an exception name Change-Id: I9b5c91eb13466eb576c329ebb7fd00ce33f7dd9f Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Move object_mapper per dbus path conventions.Leonel Gonzalez2017-03-201-1/+1
| | | | | | | Partial fix for openbmc/openbmc#1112. Change-Id: Id01fdae36576d99d90775e4c2f6443b87c1198ee Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
* React to logging manager path changeDeepak Kodihalli2017-02-241-1/+1
| | | | | Change-Id: Ic75d30d88d74cd8a7ff85a4a526c85aa20b373a9 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Moved log.hpp and elog.hpp to a folder under phosphor-loggingSaqib Khan2017-02-201-1/+1
| | | | | | | | | | Now these files are copied to a folder under phosphor-logging, other repositories will need to be fixed. I'm leaving the files in the base dir as well until I work on fixing all projects that utilizes log.hpp and elog.hpp Change-Id: Ie4640852727c1572325e974548737bc70a6db7c2 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Implement Commit client interfaceAdriana Kobylak2017-02-161-1/+42
| | | | | | | | | Implement the Commit client interface to take the exception unique name and call the dbus Commit interface to create the error log. Change-Id: Id780e98efd32b9806ea24e4e551f786a055cc05c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Create libphosphor-logging libraryAdriana Kobylak2017-02-161-0/+14
The commit function would be too big to hold on the header file. Move it to a library and update the phosphos-logging.pc file for users to link against it. Add dependency to libsdbusplus as the commit interface would make use of the transaction id support. Change-Id: I237b15e35a633f1da9bf3401b5bf754154f132db Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
OpenPOWER on IntegriCloud