summaryrefslogtreecommitdiffstats
path: root/pylog/onaplogging/marker
AgeCommit message (Collapse)AuthorFilesLines
2019-02-13upgrade pylog versionliangke4-7/+7
upgrade latest version of pylog to 1.0.7 fix pep8 error use relative imports Change-Id: I705756b0778f89fbce62559ea0f108fd35efff5e Issue-ID: MULTICLOUD-481 Signed-off-by: liangke <lokyse@163.com>
2018-09-11Enable colored output for loggingLOG-380-sharedliangke1-2/+2
ColorFormatter class uses ANSI esacpe sequences to render logging message in color, it uses standard colors so it should workd on any UNIX terminal. Make markerFormatter class to inherits from colorFormatter. Change-Id: Ie24a06df861ca5d07796e78dea7e875daf149380 Issue-ID: MULTICLOUD-329 Signed-off-by: liangke <lokyse@163.com>
2018-09-06Support Marker in python loggingliangke5-0/+326
1 Add 'Marker' feature which carry extra contextual information for loggers, can be used to mark a single log statement 2 Make MDC Formatter have "marker" label. Change-Id: I21ac547b97c49190393d57ff290dcbc3ae20da2a Issue-ID: MULTICLOUD-328 Signed-off-by: liangke <lokyse@163.com>