🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Bang System Logging icon
Possivelmente abandonado Testado até 3.5.2

Bang System Logging

Enable system logging for WordPress plugin and theme development.

Instalações ativas10+10+ nível
Downloads · 30d56▲ +47,4% vs anterior. 30D
Classificação—0 comentários
Pontuação da saúde23/100Em risco
Downloads de todos os tempos2.2KSince Aug 2013
Suporte resolvido—Sem tópicos recentes
RequerWP 3.0Php qualquer
Downloads · 7d12▼ -20% week over week
Nosso veredicto

Considere uma alternativa

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.

  • Pequena base de usuários (10+ instalações ativas)
  • Muito poucos comentários até agora
  • No update in 13 years
  • Testado apenas até WordPress 3.5 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

369Sep 4Oct 18Dec 2
Ontem3
Média diária (1y)2
Dia de pico1215 de maio de 2026
Últimos 12 meses625

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Bang System Logging stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
debug >100 4,695 Best debug plugins →
syslog #36 36 Best syslog plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.2100.0%

About Bang System Logging

Do Readme oficial · v1.2

Descrição

Enable system logging for WordPress plugin and theme development. This can make it easier to know what your code is doing.

Features include:

  • 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

Como usar

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 message
  • myserver – The name of this computer
  • php – The program that produced the message
  • mysite.com – The domain name of the site
  • 1553 – The process ID of the running PHP process
  • b8e – A random 3-digit code identifying each page request
  • mysite.com/path-to-page – The URL of the request
  • Some log message – Your message

For more detailed instructions, see the How to use tab.

Como usar

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.

Instalação

Basic installation

  1. Upload the bang-syslog directory into the /wp-content/plugins/ directory
  2. Ative o plugin através do menu 'Plugins' em WordPress
  3. 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.

Capturas de tela

The settings page
The settings page
A coloured log file
A coloured log file

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Bang System Logging alternatives

All debug plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 WP Crontrol WP Crontrol Take control of the cron events on your WordPress website or WooCommerce store with WP… Por Syed Balkhi 300K+ ★★★★★★★★★★ 4.4 (168) 2 dias atrás 81
2 Query Monitor Query Monitor Query Monitor is the developer tools panel for WordPress and WooCommerce. by John Blackbourn 200K+ ★★★★★★★★★★ 4.9 (470) 6 dias atrás 89
3 Barra de depuração Barra de depuração Adiciona um menu de depuração à barra de administrador que mostra consulta, cache e outra depuração útil… por WordPress.org 20K+ ★★★★★★★★★★ 4.1 (69) 2 meses atrás 77
4 WP Debugging WP Debugging A support/troubleshooting plugin for WordPress. by Andy Fragen 10K+ ★★★★★★★★★★ 5 (21) 4 meses atrás 69
5 Debug Log Manager – Conveniently Monitor and Inspect Errors Debug Log Manager – Conveniently Monitor and Inspect Errors Log PHP, database and JavaScript errors via WP_DEBUG with one click. Conveniently create… by Bowo 10K+ ★★★★★★★★★★ 5 (25) 1 mês atrás 75
6 My WP Customize Admin/Frontend My WP Customize Admin/Frontend Simply and easy-to-use the customize for Admin and Frontend. A lot of custom filters and… by gqevu6bsiz 8K+ ★★★★★★★★★★ 4.3 (16) 5 dias atrás 81
7 Code Profiler – WordPress Performance Profiling and Debugging Made Easy Code Profiler A profiler to measure the performance of your WordPress plugins and themes. by bruandet 8K+ ★★★★★★★★★★ 4.3 (37) 2 meses atrás 82
8 reBusted! reBusted! Force browsers to load the most recent file if modified. by Simon Prosser 5K+ ★★★★★★★★★★ 5 (11) 2 anos atrás 41
9 Plugin Detective – Troubleshooting Conflicts Plugin Detective – Troubleshooting Conflicts Quickly find and fix WordPress plugin conflicts, recover from fatal errors, and clear stuck… by NSquared 5K+ ★★★★★★★★★★ 4 (49) 1 semana atrás 73
10 Dashboard Widgets Suite Dashboard Widgets Suite Adds 9 awesome widgets to your WP Dashboard. Includes User Notes, Social Buttons, System… Por Jeff Starr 4K+ ★★★★★★★★★★ 4.9 (38) 1 semana atrás 78

FAQ

Bang System Logging: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: 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).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir