-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogger.js
More file actions
33 lines (28 loc) · 4.82 KB
/
logger.js
File metadata and controls
33 lines (28 loc) · 4.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = class Logger {
constructor() {
}
setup() {
console.log("\x1b[37m\x1b[42m\n" +
" " + "\n" +
" ████ █ █████ █ " + "\n" +
" █ ██ █ █ " + "\n" +
" █ ████ █ ████ █ ████ █ ██ █ ████ █ ██ █ ██ █ ███ █ ███ █ █ ███ ████ " + "\n" +
" ███ ██ █ ██ █ █ ██ █ ██ █ █ █ █ █ ██ ██ ██ ██ ██ █ ██ ██ ██ █ " + "\n" +
" ███ █ ██ ██ █ █ █ ██ ██ █ █ █████ █ ██ █ █ █ █ █ █ █ █ █ " + "\n" +
" ██ ██████ █ ██ █ ██████ █ █ ██ █ █ █ ██ █ █ █ █ █ █ █ ██ █ " + "\n" +
" █ █ █ █ █ █ █ █ █ █ █ █ ██ █ █ █ █ █ █ █ ███ " + "\n" +
" █ ██ ██ █ ██ ██ █ █ █ █ █ ██ ██ ██ █ █ █ █ █ █ █ ██ " + "\n" +
" ████ ████ █ █ ████ █ █ ████ █ █ █████ █ █ █ █ █ █ █ ████ █ █ █ " + "\n" +
" █ ██ " + "\n" +
" █████ " + "\x1b[0m")
}
success(message, ip) {
console.log(`\x1b[42mSuccess!\x1b[0m ${message} ${ip ? "from " + ip : ""}`)
}
waring(message, ip) {
console.log(`\x1b[43mWaring!\x1b[0m ${message} ${ip ? "from " + ip : ""}`)
}
error(message, ip) {
console.log(`\x1b[41mError!\x1b[0m ${message} ${ip ? "from " + ip : ""}`)
}
}