| 705 | } |
| 706 | |
| 707 | void eventlog_print_event(const struct event_header *event, int count, |
| 708 | enum eventlog_timezone tz) |
| 709 | { |
| 710 | /* Ignore the printf separator at the beginning and end of each line */ |
| 711 | eventlog_printf_ignore_separator_once = 1; |
| 712 | |
| 713 | eventlog_printf("%d", count); |
| 714 | eventlog_print_timestamp(event, tz); |
| 715 | eventlog_print_type(event); |
| 716 | eventlog_print_data(event); |
| 717 | |
| 718 | /* End of line, after printing each event */ |
| 719 | eventlog_printf_ignore_separator_once = 1; |
| 720 | eventlog_printf("\n"); |
| 721 | } |
| 722 | |
| 723 | /* |
| 724 | * Initializes the eventlog header with the given type and data, |
no test coverage detected