Skip to content
/ mConsole Public

Internal console for mobile devices. To be used in frameworks like Phonegap, Sencha and etc. Should only be used in mobile projects.

License

Notifications You must be signed in to change notification settings

wpdas/mConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileConsole (mConsole)

MConsole is a simple tool to be used in projects for mobile (hybrid). It was developed using the Phonegap framework as a test base. Through mConsole, you can see easily all console occurrences in the project (including errors).

Should be used only for projects mobile.

How to use

  • Copy to root folder (or any folder inside of it) the file mconsole.js, insert the same in your project and call its start function.

  • Example (demo.js):

window.onload = function(){

    //Start mobile console and pass height (optional) per parameter.
    //$mConsole.init(250);
    $mConsole.init();

    //Execute console
    console.log($mConsole.version);
    console.log("My log");
    console.warn("My warning");
    console.info("My info");
    console.debug("My debug");

    //Proposital error
    myErrorVar;
};

This above code will generate something like this below: Console running

About

Internal console for mobile devices. To be used in frameworks like Phonegap, Sencha and etc. Should only be used in mobile projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages