Login   Register  
Icontem

File: jraLoggerFiles/jraLogger.readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Randal Allen Anderson III  >  Javascript Params Array  >  jraLoggerFiles/jraLogger.readme.txt  >  Download  
File: jraLoggerFiles/jraLogger.readme.txt
Role: Documentation
Content type: text/plain
Description: getting started with the jraLogger
Class: Javascript Params Array
Manipulate arrays of named parameters
Author: By
Last change:
Date: 2013-05-11 18:32
Size: 1,502 bytes
 

Contents

Class file image Download
  jraLogger - Open Source JavaScript Message Logger

  jraLogger.readme.txt
    getting started with the jraLogger

  Author: Randal Allen Anderson III
          rational_ape@hotmail.com
  Web: http://raa3enterprises.com/parms
  Copyright (c) 2013 RAA3 Enterprises, Inc.
  GNU General Public License - http://www.gnu.org/licenses/gpl.html


Colorized Message Logging for Javascript projects.

Double click on the file "jraLogger.test.html" to run a test of the logger. This will open up a window in your default browser. If any message have been generated, icons will appear in the top-right corner of the page. Click on any of them to show or hide the list of log messages at that level of logging.

Once a message log list is displayed, it has buttons that can clear the list and hide the list and the top-right icon.

Custom Parameters is included as a test for the logger. The parms test should run as expected. To incorporate custom parameters in your application, include and use the "parms.js" file. See the "parmstest.js" file for examples of how to use the custom parameters.

To use the jraLogger, copy the jraLoggerFiles directory and the "logging.css" file to an appropriate location in your project. Then include the "logging.css" and "jraLoggerFiles/jraLogger.css" and "jraLoggerFiles/jraLogger.js" in your web page. Then from Javascript, call any of the logging functions: log.severe(message) log.error(message) log.warn(message) log.info(message) log.trace(message) log.debug(message).