3.17 library(http/http_log): HTTP Logging module
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • library(http/http_log): HTTP Logging module
            • http_log_stream/1
            • http_log_close/1
            • http_log/2
            • password_field/1
            • nolog/1
            • nolog_post_content_type/1
            • post_data_encoded/2
            • http_logrotate/1
            • http_schedule_logrotate/2
Availability::- use_module(library(http/http_log)).
[det]post_data_encoded(?Bytes:string, ?Encoded:string)
Encode the POST body for inclusion into the HTTP log file. The POST data is (in/de)flated using zopen/3 and base64 encoded using base64//1. The encoding makes long text messages shorter and keeps readable logfiles if binary data is posted.