An open API service indexing awesome lists of open source software.

https://github.com/gilbitron/codeigniter-chrome-logger

A CodeIgniter Chrome Logger helper.
https://github.com/gilbitron/codeigniter-chrome-logger

Last synced: 5 months ago
JSON representation

A CodeIgniter Chrome Logger helper.

Awesome Lists containing this project

README

        

### This repo is no longer maintained. If you would like to take over ownership please [get in touch](mailto:[email protected]).

CodeIgniter Chrome Logger
=========================

A CodeIgniter [Chrome Logger](http://craig.is/writing/chrome-logger) helper.

Installation
------------

1. Install the [Chrome Logger extension](https://chrome.google.com/webstore/detail/chromephp/noaneddfkdjfnfdakjjmocngnfkfehhd) for Google Chrome
2. Download the ChromePhp.php file from https://github.com/ccampbell/chromephp and put it in your `application/third_party` folder.
3. Download the chrome_logger_helper.php file from this repo to `application/helpers`.

Usage
-----

To use the function simply do:

```php
$this->load->helper('chrome_logger');
chrome_log($object);
```

You can also pass in the type of log like:

```php
chrome_log($object, 'warn');
```

Credits
-------

The CodeIgniter Chrome Logger helper was created by [Gilbert Pellegrom](http://gilbert.pellegrom.me) from [Dev7studios](http://dev7studios.com). Released under the MIT license.