403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/convo/node_modules/grunt-legacy-log/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/convo/node_modules/grunt-legacy-log/examples.js
var Log = require('./').Log;

function doThings(options) {
  console.log();
  console.log(options);
  var log = new Log(options);
  log.header("Header line.");
  log.subhead("Subhead line.");
  log.write("Testing").write(" 123...").writeln("done!");
  log.write("Verbose: ").verbose.write("YES").or.write("NO").always.write(", ");
  log.notverbose.write("NO").or.write("YES").always.writeln("!");
  log.warn("This is a warning.");
  log.write("Doing something...").warn();
  log.error("This is an error.");
  log.write("Doing something...").error();
  log.ok("This is ok.");
  log.write("Doing something...").ok();
  log.errorlns("This is a very long line in errorlns that should wrap eventually, given that it is a very long line.");
  log.oklns("This is a very long line in oklns that should wrap eventually, given that it is a very long line.");
  log.success("This is a success message.");
  log.fail("This is a fail message.");
  log.debug("This is a debug message.");
}

doThings({});
doThings({verbose: true});

Youez - 2016 - github.com/yon3zu
LinuXploit