Title: WP-Logs
Author: neiltron
Published: <strong>19. oktober, 2010</strong>
Last modified: 2. november, 2010

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-logs.svg)

# WP-Logs

 Af [neiltron](https://profiles.wordpress.org/neiltron/)

[Download](https://downloads.wordpress.org/plugin/wp-logs.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wp-logs/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-logs/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-logs/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-logs/#developers)

 [Support](https://wordpress.org/support/plugin/wp-logs/)

## Beskrivelse

WP-Logs enables developers to track system events from within the WordPress admin
area; i.e., tracking user logins, new posts, comments, etc. It’s also very helpful
if you need to build an API on top of WordPress and track usage to make sure everything
is functioning correctly.

After installation, a ‘Logs’ tab appears in the admin panel which lists all events
that have been sent to it via the simple EventLog() call (see installation for more
details).

To see our other work, visit [www.shockoe.com](http://www.shockoe.com). Google Analytics
code adapted from work by there4 development.

## Skærmbilleder

[⌊List of logged events in the admin panel.⌉⌊List of logged events in the admin 
panel.⌉[

List of logged events in the admin panel.

## Installation

 * Upload files to your site’s plugin directory
 * Activate WP-Logs in the admin panel
 * Add EventLog line to your theme/plugin code

#### EventLog()

The EventLog call should resemble this:

$EventLog = new EventLog(array( ‘event’ => ‘Login Successful’, ‘text’ => var_export(
$_REQUEST,1) ));

The only required parameter is ‘event’; ‘text’ can be any value(s) you want.

#### Google Analytics Integration

To have your events posted to Google Analytics, add your UA code to line 25 of analytics_events.
php. If you are using [Yoast’s Google Analytics plugin](https://wordpress.org/extend/plugins/google-analytics-for-wordpress/),
you can skip this step as WP-Logs will pull your UA information from the database.

#### Notifo Integration

WP-Logs integrates with [Notifo](http://www.notifo.com) to make it easy to receive
notices of events in realtime to either your phone or desktop. The [WP-Notifo plugin](https://wordpress.org/extend/plugins/wp-notifo/)
is required to use this functionality.

To use it, setup and configure WP-Notifo with your Notifo API keys. Then add a ‘
notifo’ line to your EventLog call, e.g.:

    ```
    $EventLog = new EventLog(array(
        'event' => 'New post',
        'text' => 'A user created a new post',
        'notifo' => 1
    ));
    ```

The last line tells WP-Logs to send this event to Notifo.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“WP-Logs” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ neiltron ](https://profiles.wordpress.org/neiltron/)
 *   [ shockoe ](https://profiles.wordpress.org/shockoe/)

[Oversæt “WP-Logs” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-logs)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-logs/), tjek [SVN repository](https://plugins.svn.wordpress.org/wp-logs/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-logs/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-logs/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.6

 * Added WP-Notifo integration

#### 0.5.1

 * Remove ‘Add New’ from the admin menu

#### 0.5

 * First version of WP-Logs.

## Meta

 *  Version **0.6**
 *  Senest opdateret **16 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0 eller højere **
 *  Testet op til **3.0.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wp-logs/)
 * Tags
 * [analytics](https://da.wordpress.org/plugins/tags/analytics/)[developer](https://da.wordpress.org/plugins/tags/developer/)
   [logs](https://da.wordpress.org/plugins/tags/logs/)[notification](https://da.wordpress.org/plugins/tags/notification/)
   [tracking](https://da.wordpress.org/plugins/tags/tracking/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-logs/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/wp-logs/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/wp-logs/reviews/)

## Bidragsydere

 *   [ neiltron ](https://profiles.wordpress.org/neiltron/)
 *   [ shockoe ](https://profiles.wordpress.org/shockoe/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-logs/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://www.shockoe.com)