Bang System Logging
Enable system logging for WordPress plugin and theme development.
Envisager une alternative
Bang System Logging shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 13 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 13 ans
- Uniquement testé jusqu'à WordPress 3,5 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Bang System Logging stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| debug | >100 |
| syslog | #36 |
Adoption de version
Part de sites actifs par version.
About Bang System Logging
À partir du Lisezmoi officiel · v1.2Description
Enable system logging for WordPress plugin and theme development. This can make it easier to know what your code is doing.
Les fonctionnalités incluent :
- Log to the system log or to a file
- Easily append or embed any value in log messages
- Coloured logs indicating strings, numbers, arrays, objects, null values etc.
- Extract values from arrays of objects
- Optionally exclude AJAX, Javascripts, CSS and any other pattern of URLs.
- Intercept PHP errors and log strict warnings
- Measure memory usage between two points, or the time taken by various parts of your code
- Easy to switch off for production sites
Comment utiliser
Using it is as simple as calling the 'log' action in your templates or plugin.
<?php do_action('log', 'Some log message'); ?>
This will produce a line in your system log:
Jun 4 11:23:08 myserver php/mysite.com[1553]: b8e mysite.com/path-to-page: Some log message
This includes:
Jun 4 11:23:08– The date and time of the log messagemyserver– The name of this computerphp– The program that produced the messagemysite.com– The domain name of the site1553– The process ID of the running PHP processb8e– A random 3-digit code identifying each page requestmysite.com/path-to-page– The URL of the requestSome log message– Your message
For more detailed instructions, see the How to use tab.
Comment utiliser
To log a message, use the 'log' action in your templates or plugins:
<?php do_action('log', 'Some log message'); ?>
This will output the log message:
Some log message
Embedding values
If you include extra parameters, they’ll be added at the end of the log message:
<?php do_action('log', 'A number and a string', 17, 'foo'); ?>
This will produce the log message:
A number and a string: 17, foo
The value will be formatted correctly depending on its type: integers, strings, arrays, objects, booleans etc.
You don’t need to check if values are null or empty, they’ll still be output safely.
If you put the code %s into your log message, then one of the arguments will be dropped into the message:
<?php do_action('log', 'I have %s numbers', count($numbers), $numbers); ?>
This will produce the log message:
I have 4 numbers: [9, 16, 307, 1]
Selecting fields
Logging a complete object – such as a WordPress post – can be very large, and sometimes it’s only one or two fields you need.
If you put a string starting with an exclamation point "!" followed by a list of field names, they will be selected from the following object.
The following will only show the ID and post_title fields of the post:
<?php do_action('log', 'Loaded the post', '!ID,post_title', $post); ?>
This will produce the log message:
Loaded the post: {ID: 1932, post_title: Test page}
If you do this with an array of objects, those fields will be selected from each of them. The following will output a list of post IDs:
<?php do_action('log', 'Loaded %s posts', count($posts), '!ID', $posts); ?>
This will produce the log message:
Loaded 3 posts: [1932, 1594, 1103]
Coloured logs
If you have coloured logging switched on, values will appear in different colours to indicate their type.
This can make for quicker scanning of log files.
To enable coloured logs, tick the Coloured logs checkbox on the settings page.
Then use the log.sh script, included with this plugin, to decode and display the coloured log files.
Installation
Basic installation
- Upload the
bang-syslogdirectory into the/wp-content/plugins/directory - Activez le plugin via le menu « Plugins » dans WordPress
- Place
<?php do_action('log', 'Some log message'); ?>in your templates and plugins
Early logging for plugin developers
Normally, this plugin can only begin logging once the plugin has loaded.
If you’re using logging to develop your own plugin, you may find it helpful to activate this plugin earlier.
Put this line near the bottom of your wp-config.php file:
require_once(ABSPATH . 'wp-content/plugins/bang-syslog/include.php');
Using the plugin
The plugin does nothing until it’s called in PHP code.
See the How to use tab for more information.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Bang System Logging alternatives
All debug plugins →FAQ
Bang System Logging: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Bang System Logging free?
Yes. Bang System Logging is free to download and use from the official WordPress.org plugin directory.
Is Bang System Logging safe to use in 2026?
Bang System Logging shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 13 years ago, and scores 23/100 on our health check.
How many websites use Bang System Logging?
Bang System Logging is active on 10+ WordPress websites and has been downloaded 2,237 times since it launched in August 2013. It was downloaded 56 times in the last 30 days.
Does Bang System Logging work with WordPress 7.1?
Bang System Logging is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Bang System Logging last updated?
The latest version, 1.2, was released on August 30, 2013 (13 years ago).
Who makes Bang System Logging?
Bang System Logging is developed and maintained by Marcus Downing.
What are the best alternatives to Bang System Logging?
The most popular alternatives to Bang System Logging are WP Crontrol (300K+ installs), Query Monitor (200K+ installs) and Debug Bar (20K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


