CodeCanyon

Console Log

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
Thecodingdude says

Nice script here mate, but what do you do if the user doesn’t have the “tool” they need installed to firefox?

I presume firefox doesn’t come with firebug.

2 years ago
Author
Sitebase Sitebase replied

This use meant for developer to speedup the debugging of scripts. So not for the regular end user.

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
jspicher says

What firefox plugin do you need? The demo doesn’t work for me in FF3 – and there isn’t anything mentioning a required FF plugin.

2 years ago
Author
Sitebase Sitebase replied

In the script documentation is more info about this. In Firefox you need to install the Firebug plugin.

2 years ago
Purchased
jspicher jspicher replied

Cool thanks. Just bought the script, nice work!

1 year ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • France
corsonr says

very nice, is it possible ti disable alerts with Internet Explorer so that the process remains totally hidden for visitors?

2 years ago
Author
Sitebase Sitebase replied

This can be done by commenting out line 96 in the Console.php file:

Change:

printf( self::FORMAT_IE_LOG, $value );

to

//printf( self::FORMAT_IE_LOG, $value );
2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
BinaryWeb says

What’s the difference between this and FirePHP teamed with Firebug and/or chrome/webkit console?

$6 for existing functionality is a bit expensive

2 years ago
Author
Sitebase Sitebase replied

My sciprt works in all browsers:

  • Mozilla
  • Safari
  • Opera
  • Chrome
  • Internet explorer (has no console but shows alerts instead)
2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • United Kingdom
  • Referred between 1 and 9 users
phpdude says

Thought I’d give you a heads up about latest FireBug including console.table() – http://www.softwareishard.com/blog/firebug/tabular-logs-in-firebug/

Would be a nice addition to your script, maybe even use it to display tabular data from a given SQL query.

  • the website above is not mine, just found it via Twitter
2 years ago
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Interviewed on the Envato Notes blog
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 1 and 9 users
Reaper-Media says
Purchased

Nice item… is there any chance that you could extend the debugging to ajax calls…

eg:

PHP :

Console::ajaxShow("This is some information", Console::INFO);
...and then have a js function that will filter out the debugging, return it to the console and then return the original ajax source without the debugging info:

eg:

JavaScript:

<script>
var returnedAjaxInfo = "blah blah blah";
returnedAjaxInfo = consoleFilter(returnedAjaxInfo);
</script>

that would be really useful :)

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
Jmayhak says

When you include console.php is the javascript spit out at that time or at some other time?

I don’t want any html sent to browser until I’ve finished all my business logic.

2 years ago
Author
Sitebase Sitebase replied

It spits it out at that time. If you don’t want that you can add ob_start() to the top of your script.

2 years ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
netlic says
Purchased

it not work for me can you explain step by step how to install and use

2 years ago
Author
Sitebase Sitebase replied

Include the console.php file:

include('Console.php');

Now you can log something like this:

Console::show('Hello world', Console::Info);
2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • United States
shoxty says
Purchased

I love this!!! Dude you did a great job, thanks a lot. I downloaded firephp and it just included way too much crap. I love how minimal this thing is. This is one of the first things on Code Canyon that I was actually impressed with after purchasing it. Thanks again.

1 year ago
Author
Sitebase Sitebase replied

Great to hear such a nice words :).

1 year ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
jazzchoral says

How does it work on Opera? I visited the preview and it showed the messages in alert(); I used Dragonfly and reloaded but I can’t see the messages anywhere on the debuger?

1 year ago

by
by
by
by
by