mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Renaming the Logger to Reporter.
Also changing output to not include timestamps when we haven't started processing packets yet.
This commit is contained in:
parent
93894eed9b
commit
66e2c3b623
123 changed files with 722 additions and 713 deletions
|
@ -635,7 +635,7 @@ body_start: TOK_LPB c_code_begin
|
|||
fprintf(fp_func_def, "\tif ( %s->length() != %d )\n", arg_list_name, argc);
|
||||
fprintf(fp_func_def, "\t\t{\n");
|
||||
fprintf(fp_func_def,
|
||||
"\t\tbro_logger->Error(\"%s() takes exactly %d argument(s)\");\n",
|
||||
"\t\treporter->Error(\"%s() takes exactly %d argument(s)\");\n",
|
||||
decl.bro_fullname.c_str(), argc);
|
||||
fprintf(fp_func_def, "\t\treturn 0;\n");
|
||||
fprintf(fp_func_def, "\t\t}\n");
|
||||
|
@ -645,7 +645,7 @@ body_start: TOK_LPB c_code_begin
|
|||
fprintf(fp_func_def, "\tif ( %s->length() < %d )\n", arg_list_name, argc);
|
||||
fprintf(fp_func_def, "\t\t{\n");
|
||||
fprintf(fp_func_def,
|
||||
"\t\tbro_logger->Error(\"%s() takes at least %d argument(s)\");\n",
|
||||
"\t\treporter->Error(\"%s() takes at least %d argument(s)\");\n",
|
||||
decl.bro_fullname.c_str(), argc);
|
||||
fprintf(fp_func_def, "\t\treturn 0;\n");
|
||||
fprintf(fp_func_def, "\t\t}\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue