[][src]Module fakelogs::generator

Structs

Line

Data used to define line content.

Functions

write_common_log_header

Write a header for a common log format. This typically outputs a comment line with the start time. Comment lines do not exist in CLF, so this is technically an invalid line.

write_csv_header

Write a header for CSV format. This helps parsing CSV as it gives a name to every column, so afterwards it's easy to just call the data by their column name. Python pandas does this, for example.