From b4c8eae5358953b4b55f6a7df2e8c9836b8d3c13 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 31 Jul 2022 03:00:16 -0400 Subject: cock --- src/stage4/log.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/stage4/log.js (limited to 'src/stage4/log.js') diff --git a/src/stage4/log.js b/src/stage4/log.js new file mode 100644 index 0000000..cb6357f --- /dev/null +++ b/src/stage4/log.js @@ -0,0 +1,15 @@ +function p0laris_log() { + var args = []; + for (var i = 0; i < arguments.length; i++) { + args.push(arguments[i]); + } + + if (args.length > 1) { + printf.apply(this, [args[0] + "\n"].concat(args.slice(1))); + } else { + printf.apply(this, [args[0] + "\n"]); + } + syslog.apply(this, [LOG_SYSLOG].concat(args)); + + return; +} \ No newline at end of file -- cgit v1.2.3