Renaming reporter_message to report_info.

Same change internally.
This commit is contained in:
Robin Sommer 2011-07-07 08:43:29 -07:00
parent eb0580c622
commit df1b2f922b
14 changed files with 34 additions and 34 deletions

View file

@ -1,6 +1,6 @@
reporter_message|init test-message|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 8|0.000000
reporter_warning|init test-warning|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 9|0.000000
reporter_error|init test-error|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 10|0.000000
reporter_message|done test-message|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 15|0.000000
reporter_warning|done test-warning|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 16|0.000000
reporter_error|done test-error|/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 17|0.000000
reporter_info|init test-info|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 8|0.000000
reporter_warning|init test-warning|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 9|0.000000
reporter_error|init test-error|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 10|0.000000
reporter_info|done test-info|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 15|0.000000
reporter_warning|done test-warning|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 16|0.000000
reporter_error|done test-error|/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 17|0.000000

View file

@ -1,3 +1,3 @@
/da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 52: pre test-message
warning in /da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 53: pre test-warning
error in /da/home/robin/bro/seth/testing/btest/.tmp/core.reporter/reporter.bro, line 54: pre test-error
/da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 52: pre test-info
warning in /da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 53: pre test-warning
error in /da/home/robin/bro/master/testing/btest/.tmp/core.reporter/reporter.bro, line 54: pre test-error

View file

@ -5,14 +5,14 @@
event bro_init()
{
Reporter::message("init test-message");
Reporter::info("init test-info");
Reporter::warning("init test-warning");
Reporter::error("init test-error");
}
event bro_done()
{
Reporter::message("done test-message");
Reporter::info("done test-info");
Reporter::warning("done test-warning");
Reporter::error("done test-error");
}
@ -26,7 +26,7 @@ event connection_established(c: connection)
print "established";
Reporter::message("processing test-message");
Reporter::info("processing test-info");
Reporter::warning("processing test-warning");
Reporter::error("processing test-error");
first = 0;
@ -34,9 +34,9 @@ event connection_established(c: connection)
global f = open_log_file("logger-test");
event reporter_message(t: time, msg: string, location: string)
event reporter_info(t: time, msg: string, location: string)
{
print f, fmt("reporter_message|%s|%s|%.6f", msg, location, t);
print f, fmt("reporter_info|%s|%s|%.6f", msg, location, t);
}
event reporter_warning(t: time, msg: string, location: string)
@ -49,7 +49,7 @@ event reporter_error(t: time, msg: string, location: string)
print f, fmt("reporter_error|%s|%s|%.6f", msg, location, t);
}
Reporter::message("pre test-message");
Reporter::info("pre test-info");
Reporter::warning("pre test-warning");
Reporter::error("pre test-error");