Blame view

samples/logcolor.js 348 Bytes
1
/*jshint strict:false*/
2
/*global CasperError, console, phantom, require*/
3

4
var casper = require("casper").create({
5
    verbose: true,
6
    logLevel: "debug"
7 8
});

9 10 11 12
casper.log("this is a debug message", "debug");
casper.log("and an informative one", "info");
casper.log("and a warning", "warning");
casper.log("and an error", "error");
13

14
casper.exit();