-
Notifications
You must be signed in to change notification settings - Fork 321
GridLogger
Eddie Kohler edited this page Oct 17, 2017
·
3 revisions
GridLogger — Click element; Log Grid-related events.
GridLogger(KEYWORDS)
Drivers: userlevel
This element provides methods which other Grid components can call to log significant protocol events.
Multiple GridLogger elements can co-exist.
Keyword arguments are:
- LOGFILE — String. Filename of binary format log file. If this argument is supplied, the element starts logging to the specified file as soon as the element is initialized. Otherwise, no logging takes place until the start_log handler is called.
- SHORT_IP — Boolean. Defaults to true. If true, only log the last byte of IP Addresses.
-
start_log (write-only)
When a filename is written, starts logging to that file. Any existing logfile is closed.
-
stop_log (write-only)
Stop logging and close any open logfile.
-
logfile (read-only) — Return the filename of the current logfile, if any. May return the empty string.
GridRouteTable, DSDVRouteTable, GridTxError, LookupLocalGridRoute
Generated by click-elem2man from ../elements/grid/gridlogger.hh:17
on 2017/10/17.