چۈشەندۈرۈش
Custom Logs is a powerful and user-friendly plugin designed to help WordPress developers and administrators manage debug logs efficiently. With a modern interface, it offers complete control over custom and WP_DEBUG logs, including custom directories, log levels, and real-time AJAX filtering.
Key Features
- Custom Log Management: Define custom log file names and directories within the uploads folder.
- WP_DEBUG Integration: Capture and redirect WP_DEBUG logs to a custom file.
- Log Levels: Filter logs by severity (None, All, Errors, Warnings, Notices).
- AJAX-Powered Log Viewer: Dynamically filter log entries by file and type without page reloads.
- Backup and Clear Logs: Easily back up or clear logs with a single click.
- Download Logs: Download custom or WP_DEBUG logs directly from the admin panel.
- Sleek UI: A modern, responsive design with uniform input heights for a polished experience.
This is the initial release (v1.0), providing a robust foundation for log management with advanced features like AJAX filtering built-in from the start.
Usage
- Enable Logging: Turn on custom logging and set a log level under «Custom Logging».
- Set Log Files: Specify custom log file names and directories under «General» and «WP Debug Logging».
- View Logs: Use the Log Viewer to select a log file and filter by type (e.g., Errors, Info) with real-time AJAX updates.
- Manage Logs: Test, clear, back up, or delete logs from the «Management» section.
- Download Logs: Use the «Downloads» section to save logs locally.
To log custom messages, use the custom_logs()
function in your code:
`php
customdebug_log(«This is a test message», «info»);
ئورنىتىش
- Upload the
custom-debug-logs
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ›Plugins‹ menu in WordPress.
- Navigate to the ›Custom Logs‹ menu in the WordPress admin dashboard to configure settings.
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«Custom Logs» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«Custom Logs» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.