-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release(2.0.1): enhance the log messages [DS-1275] (#15)
release(2.0.1): enhance the log messages [DS-1275] (#15)
- Loading branch information
1 parent
7014bdf
commit d5b9255
Showing
4 changed files
with
75 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
function banner() { | ||
let banner = ` | ||
██████ ██████ ██████ ██ ██ ███████ ███████ ████████ ██████ █████ ████████ ██████ ██████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
██ ██ ██████ ██ ███████ █████ ███████ ██ ██████ ███████ ██ ██ ██ ██████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
██████ ██ ██ ██████ ██ ██ ███████ ███████ ██ ██ ██ ██ ██ ██ ██████ ██ ██ | ||
v 2.0.1 @0xIslamTaha | ||
`; | ||
|
||
console.log(banner); | ||
} | ||
|
||
|
||
function step(msg, newLine=false) { | ||
let message; | ||
if (newLine) { | ||
message = `\n[*] ${msg}`; | ||
} else { | ||
message = `[*] ${msg}`; | ||
} | ||
console.log(message); | ||
} | ||
|
||
function subStep(subStep){ | ||
let message = `[-] ${subStep}`; | ||
console.log(message); | ||
} | ||
|
||
export { banner, step, subStep }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters