Skip to content

helpfulrobot/webbuilders-group-silverstripe-kapost-bridge-logger

 
 

Repository files navigation

Kapost Bridge Logger

Build Status

A wrapper for our SilverStripe Kapost Bridge module that logs all incoming requests to the kapost service.

Maintainer Contact

Requirements

Installation

Composer (recommended):

composer require webbuilders-group/silverstripe-kapost-bridge-logger

If you prefer you may also install manually:

Configuration Options

KapostBridgeLog:
    log_expire_days: 30 #Number of days that logs are kept

KapostBridgeLogViewer:
    log_page_length: 20 #Number of logs to include per page

Extension Points

There is one extension point that allows you to hook into the lookup process for the destination object. This extension point is called updateObjectLookup and is on the KapostBridgeLog class. The extension point is given one argument which is the Kapost Reference ID. Extensions using this extension point should return an object (or null) with the CMSEditLink method defined if you want a link to appear on the log. The CMSEditLink method must return a url to the edit page for that object. The first extension to return an object is used.

About

A wrapper for our SilverStripe Kapost Bridge module that logs all incoming requests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 71.9%
  • JavaScript 12.3%
  • Scheme 8.4%
  • CSS 7.4%