summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-06-13 17:48:53 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-06-19 17:20:24 -0400
commitfc2a67dd25162322e347cd970b83858a77bb5d81 (patch)
tree37677e636d1d9200aa160daaf65511c03483253b /lib/lib_errors.c
parentf73126c31acdd496dcc88c69059a5e0103d6a2ff (diff)
lib: Filter logs as they come in via macros
As logging functions are called, if filters are stored, look for the filter substring in the logs. If it is not found, do not output the log to a file or stdout. If the filter is matched, handle the log call per usual. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions