![]() |
Dev Debug Log
Introduction:
This is my basic logging mechanism used in two of my current vbulletin products. Instead of writing a text file to the file system which may or may not have been the best thing to do, i instead wrote this small plugin to facilitate logging to a database table instead. Install: Upload the contents of the upload folder to your vbulletin root directory. Install the product XML file. Usage: There are no options that need to be set (they should be turned on/off in your plugin code). Main Class is called DebugLog. It has one class variable, product, and two class methods, set and log. Log takes up to 4 arguments. Quote:
Quote:
PHP Code:
PHP Code:
Viewing Logs: Admincp -> Devlog ->View Logs This is -very very- basic and will gradually be expanded. As it currently is, it will be enough to assist in debugging current problems with my plugins. ChangeLog v0.1 - Release v0.2 - Cosmetic - Added Line numbers to debug log output. |
Some images of the AdminCP area
|
Reserved
|
Very nice one, really cool
Thanks man *clicks Install |
I've found it to be pretty usefull so far. I do regret the names that i chose though.. debuglog::log is kind of.. horrible :p
Next week i plan on really cracking a peice from the admin log viewer. Currently i added Line Numbering to it, and it looks pretty reasonable. |
All times are GMT. The time now is 03:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|