summaryrefslogtreecommitdiffstats
path: root/phosphor-logging
Commit message (Collapse)AuthorAgeFilesLines
* Remove elog-errors-HostEvent.hpp from phosphor-logging repoTom Joseph2017-07-251-76/+0
| | | | | | | Resolves openbmc/phosphor-logging#4 Change-Id: I15ccdef0dd63216991bbd113e47beb057df14df8 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Use sdbusplus errName instead of phosphor errName in commitMarri Devender Rao2017-06-031-1/+1
| | | | | Change-Id: I2e5e1add72ee4fa29ecb8e858b101bbd648aeeec Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Host event error should be logged as ERR instead of INFOMarri Devender Rao2017-05-261-2/+2
| | | | | Change-Id: I34555ba7c4a61f8bd7fa423719429e8d990e2488 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Add new report interfaceMarri Devender Rao2017-04-121-0/+29
| | | | | | | | Added new report interface that creates elog entry and also commits it Change-Id: I68ebbd25561617774f498be073df4ecb627e0ef9 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Add new commit API and deprecate older commit methodMarri Devender Rao2017-04-122-7/+52
| | | | | | | | 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>
* Map sdbusplus exception to phosphor exceptionDeepak Kodihalli2017-03-151-19/+21
| | | | | | | | | | | | | Errors will be created by using the sdbusplus error types, which results in an sdbusplus exception being thrown. Error metadata can be verified at compile-time by checking the error against phosphor-logging error types. This commit maps the sdbusplus error type to the phosphor type, for this purpose, via template specializations. Change-Id: Iee37e2a3846cc3acf3a62270a520ff0c395fd36d Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Use configure option yaml path to generate elog-errors.hppAdriana Kobylak2017-03-011-0/+1
| | | | | | | | | | | | Add a config variable that can be passed via a recipe to point the parser to a directory where the error yaml files are. Rename elog-gen.hpp to elog-errors.hpp, which better matches the exception error log file names. Include elog-gen.hpp in elog.hpp so that callers that need to create and commit error logs only need to include one header file. Change-Id: Ie3cd65ac761c1f7b2c99c50a2273859283a5ab4b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Moved log.hpp and elog.hpp to a folder under phosphor-loggingSaqib Khan2017-02-203-0/+329
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>
OpenPOWER on IntegriCloud