CSVLogger (inetnet_mapper v0.1.0)

Summary

Functions

Initializes the CSV file by writing a header if it doesn't exist.

Appends a line to the CSV file with timestamp, IP, DNS name, HTTP result, and hex color. Also prints a debug log to the console.

Functions

init()

Initializes the CSV file by writing a header if it doesn't exist.

log_result(ip, dns, result, hex_color)

Appends a line to the CSV file with timestamp, IP, DNS name, HTTP result, and hex color. Also prints a debug log to the console.