X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlib%2Flog.h;h=9206ad0fcc64f36cc10c8795d5dcc5e06a70bf87;hb=8dc954a4e7931c07051ce22f8446d6e5dfb9ce7d;hp=663d7fe86edf70d0cb6e4802947acb08d8baf3dc;hpb=190dc1f6782eba4c49511636570eef678d1bac16;p=vpp.git diff --git a/src/vlib/log.h b/src/vlib/log.h index 663d7fe86ed..9206ad0fcc6 100644 --- a/src/vlib/log.h +++ b/src/vlib/log.h @@ -90,6 +90,9 @@ typedef struct extern vlib_log_main_t log_main; vlib_log_class_t vlib_log_register_class (char *vlass, char *subclass); +vlib_log_class_t +vlib_log_register_class_rate_limit (char *class, char *subclass, + u32 rate_limit); u32 vlib_log_get_indent (); void vlib_log (vlib_log_level_t level, vlib_log_class_t class, char *fmt, ...);