perfect.org

Perfect Logo
Documentation | API Documentation
  • Slack icon
PerfectLib
Perfect-CouchDB
Perfect-CURL
Perfect-Filemaker
Perfect-GoogleAnalytics-MeasurementProtocol
Perfect-HTTP
Perfect-HTTPServer
Perfect-Logger
Perfect-MongoDB
Perfect-Mustache
Perfect-MySQL
Perfect-MariaDB
Perfect-Net
Perfect-Notifications
Perfect-PostgreSQL
Perfect-Redis
Perfect-RequestLogger
Perfect-Session
Perfect-Session-SQLite
Perfect-Session-CouchDB
Perfect-Session-MySQL
Perfect-Session-PostgreSQL
Perfect-SQLite
Perfect-Thread
Perfect-WebSockets
Perfect-XML
Perfect-Zip
Turnstile-Perfect
Perfect-Turnstile-CouchDB
Perfect-Turnstile-MySQL
Perfect-Turnstile-PostgreSQL
Perfect-Turnstile-SQLite
StORM
CouchDB-StORM
MySQL-StORM
Postgres-StORM
SQLite-StORM
Module: Perfect-RequestLogger
struct RequestLogFile
Contains the location of the default log file.
static var location = "/var/log/perfectLog.log"
Holds the location of the log file.
class RequestLogger: HTTPRequestFilter, HTTPResponseFilter
The main class for logging functionality
func init()
The initializer.
func filter(request: HTTPRequest, response: HTTPResponse, callback: (HTTPRequestFilterResult) -> ())
Implementation of the HTTPRequestFilter
func filterHeaders(response: HTTPResponse, callback: (HTTPResponseFilterResult) -> ())
Implement of the HTTPResponseFilter
func filterBody(response: HTTPResponse, callback: (HTTPResponseFilterResult) -> ())
Implement of the HTTPResponseFilter
  • About
    • What is Perfect?
    • Our Team
    • Project Partners
    • Investor Relations
    • Contact Us
  • Get Involved
    • Github
    • Stack Overflow
    • Events
    • Be an Evangelist
  • Developer Resources
    • Get Started
    • Documentation
    • Tutorials and Examples
    • Deployment Options
    • Feature Requests
    • Support
Copyright © 2015-2016 PerfectlySoft Inc. All rights reserved.
  • Privacy Policy
  • Site Map
  • Slack icon
  1. Swift, and the Swift logo are trademarks of Apple Inc. All Rights Reserved.
Github Octocat