elisee
Member
Posted 11 months ago #
Hi!
I tried the LogStore plugin, looks like it could be really handy. Unfortunately it doesn't seem to work out-of-the-box.
I had to change the compact() call in the log() function to:
$values = apply_filters('logstore_new_entry-'.$this->_name, compact('time', 'message', 'data', 'tag', 'status'));
Basically I changed all $var to 'var'.
Hope this helps,
Thanks for your work!
Elisée
http://wordpress.org/extend/plugins/logstore/
elisee
Member
Posted 11 months ago #
Oh and btw, the documentation in Other notes has the log() arguments wrong: status comes after tag, not before!
lkraav
Member
Posted 3 months ago #
For 3.3.1 you also need to have:
admin/includes/class-logstore-list-table.php:
19 parent::__construct( array(
lkraav
Member
Posted 3 months ago #
Here some better CSS for the admin:
http://stackoverflow.com/questions/1713048/how-to-style-dt-and-dd-so-they-are-on-the-same-line
dl.logdata {
-moz-border-radius: 4px 4px 4px 4px;
margin: 1px;
padding: 3px 3px 1px 3px;
background-color: #FFFFFF;
border: 1px solid #DFDFDF;
overflow: hidden;
width: 100%;
}
dl.logdata * {
border: none;
padding: 0;
margin: 0;
}
dl.logdata dt {
clear: left;
float: left;
font-weight: bold;
width: 30%;
}
dl.logdata dd {
padding-left: 30%;
width: 70%;
}