DESCRIPTION

When I develope some javascript projects, I found it is hard to get some userful debugging infomation of my program.

That is the reason why I develope Lio project.

Lio means 'Logger In One', cause all the things can be done just need to include one js file.

Lio is still under developing, any bug report will be appreciated.

DOWNLOADS

(latest version: 1.0-pre)

USAGE

First include the Lio file to your page:

<script type="text/javascript" src="/path/to/Lio_version.js"></script>

Second, get any logger as you want:

  var logger1 = Lio.getLogger({
    Title : 'Moniter',
    Width : 350,
    Height : 80,
    Console : true 
  });	

You can add any log anywhere after you get a logger:

  logger1.debug('Here is','some','debug logs');
  logger1.info('Here is','some','info logs');
  logger1.warn('Here is','some','warn logs');
  logger1.error('Here is','some','error logs');
  logger1.fatal('Here is','some','fatal logs');	

Or you can also add the bookmarklet into your IE's LinkBar, then you can use Lio in every site as you want. [ Lio ]

EXAMPLES

Just press 'lio' to see Lio in this page:)

or see Lio in a 'yahoo page' here

SCREENSHOTS

Lio in a 'Yahoo page'

AUTHOR

The Lio project was written by John.H<John.Sec.Huang@gmail.com>