Console Tools

A library for shortened console.log, console.info, console.error

As of 26/05/2016. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/19894/127768/Console%20Tools.js

// ==UserScript==
// @name         Console Tools
// @namespace    PXgamer
// @version      0.2
// @description  A library for shortened console.log, console.info, console.error
// @author       PXgamer
// @grant        none
// ==/UserScript==

function cl(variable) {
    'use strict';

    console.log(variable);
}
function ci(variable) {
    'use strict';

    console.info(variable);
}
function ce(variable) {
    'use strict';

    console.error(variable);
}
function cw(variable) {
    'use strict';

    console.warn(variable);
}
function ct(variable) {
    'use strict';

    console.trace(variable);
}
function cc() {
    'use strict';

    console.clear();
}