aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_syslog.py
AgeCommit message (Expand)AuthorFilesLines
2022-05-10tests: replace pycodestyle with blackKlement Sekera1-92/+114
2020-05-03tests: vpp_interface remove deprecated packed propertiesPaul Vinciguerra1-4/+4
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-05-17Tests: Refactor. Remove copies of enums.Paul Vinciguerra1-3/+9
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-04test framework: add factory function and default parametersOle Troan1-3/+4
2019-01-29VTL: Fix pep8 test/test_syslog.pyPaul Vinciguerra1-4/+4
2019-01-18VTL: Don't swallow exceptions from syslog_rfc5424_parserPaul Vinciguerra1-5/+7
2019-01-14VTL: Allow running simple unittest.TestCases.Paul Vinciguerra1-0/+1
2018-12-12PAPI: Allow ipaddress object as argument and return values from API callsOle Troan1-3/+3
2018-12-06API: Change ip4_address and ip6_address to use type alias.Ole Troan1-2/+2
2018-11-22Add RFC5424 syslog protocol support (VPP-1139)Matus Fabian1-0/+196
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
#ifndef included_vat2_h
#define included_vat2_h

#include <stdbool.h>

extern bool debug;

#define DBG(fmt, args...) do {if (debug) fprintf(stderr, fmt, ## args); } while(0)
#define ERR(fmt, args...) fprintf(stderr, "VAT2: %s:%d:%s(): " fmt, \
                                  __FILE__, __LINE__, __func__, ##args)

#endif