console-log-pattern
Version:
Enhance your console logs with stunning, multicolored pattern output with messages
152 lines (94 loc) • 3.75 kB
Markdown
# Console Log Pattern
Enhance your console logs with stunning, multicolored pattern output with messages
# Publish your NPM package
```
npm login
npm publish
```
# Update your npm package
```
npm version patch
npm version minor
npm version major
npm publish
```
# Demo Console Logs
## Style 1
```
console.logTitle("Demo Title Message Style A", "=", "red");
```
```
====================================================================================================
====================================================================================================
=================================== Demo Title Message Style A ==================================
====================================================================================================
====================================================================================================
```
## Style 2
```
console.logTitle("Demo Title Message Style B", "*", "yellow");
```
```
****************************************************************************************************
****************************************************************************************************
*********************************** Demo Title Message Style B **********************************
****************************************************************************************************
****************************************************************************************************
```
## Style 3
```
console.logTitle("Demo Title Message Style C", "@", "green");
```
```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Demo Title Message Style C @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
```
## Style 4
```
console.logTitle("Demo Title Message Style D", "#", "blue");
```
```
####################################################################################################
####################################################################################################
################################### Demo Title Message Style D ##################################
####################################################################################################
####################################################################################################
```
## Style 5
```
console.logNote(": Demo Notes A : ", true, "Prepend Label", "Append Label", "magenta");
```
```
◕‿◕ Prepend Label: Demo Notes A : Append Label
```
## Style 6
```
console.logConsole("Demo console log", true, "cyan");
```
```
˃ Demo console log
```
## Style 7
```
console.logError("Demo Error Logs", true, "yellow");
```
```
◘ Demo Error Logs
```
## Style 8
```
console.logExeBlock("Demo Execution Block", true, "green");
```
```
====================================== Demo Execution Block =====================================
```
## Style 9
```
console.logExeBlock(null, true, "magenta");
```
```
====================================================================================================
```