webbuilders-group/silverstripe-kapost-bridge-logger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webbuilders-group/silverstripe-kapost-bridge-logger

最新稳定版本:0.3.1

Composer 安装命令:

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

包简介

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

README 文档

README

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

LoggedKapostService:
    ignore_not_found: true #Whether to log 404 errors for example when the request is not post or user agent checking is enabled and does not match

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.

Documentation

Additional documentation for the module can be found here.

统计信息

  • 总下载量: 1.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-08-27