28 static void Log(
const std::string &tag,
const std::string &message);
36 static void LogCertIssued(uint32_t nodeId,
const std::string &role, time_t expiry);
62 static void LogEncryption(
const std::string &payload,
const std::string &ivHex);
Logging utility for Zero Trust simulation modules in NS-3.
static void LogCertRejected(const std::string &reason)
Logs a rejected certificate attempt with a reason.
static void LogCertIssued(uint32_t nodeId, const std::string &role, time_t expiry)
Logs a certificate issuance event.
static void LogCertRevoked(uint32_t nodeId)
Logs a certificate revocation event.
static void LogDecryption(const std::string &payload)
Logs a successful decryption event.
static void LogCertValidationResult(uint32_t nodeId, bool valid)
Logs the result of certificate validation.
static void LogDecryptionFailure()
Logs a decryption failure event.
static void EnableTimestamps(bool enable)
Enables or disables timestamp logging.
static void Log(const std::string &tag, const std::string &message)
Logs a general message with a specified tag.
static void LogEncryption(const std::string &payload, const std::string &ivHex)
Logs an encryption event with payload and IV.
static bool timestampsEnabled
Flag to indicate if timestamps are enabled in logs.