├── .github └── workflows │ └── npm-publish.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── example.js ├── index.js ├── package-lock.json ├── package.json └── src ├── logger.js ├── styles.json └── themes.json /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- 1 | # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created 2 | # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages 3 | 4 | name: log-enhancer 5 | 6 | on: 7 | release: 8 | types: [created] 9 | 10 | jobs: 11 | build: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v3 15 | - uses: actions/setup-node@v3 16 | with: 17 | node-version: 16 18 | - run: npm i 19 | 20 | publish-npm: 21 | needs: build 22 | runs-on: ubuntu-latest 23 | steps: 24 | - uses: actions/checkout@v3 25 | - uses: actions/setup-node@v3 26 | with: 27 | node-version: 16 28 | registry-url: https://registry.npmjs.org/ 29 | - run: npm i 30 | - run: npm publish 31 | env: 32 | NODE_AUTH_TOKEN: ${{secrets.npm_token}} 33 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | 9 | # Diagnostic reports (https://nodejs.org/api/report.html) 10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | *.pid.lock 17 | 18 | # Directory for instrumented libs generated by jscoverage/JSCover 19 | lib-cov 20 | 21 | # Coverage directory used by tools like istanbul 22 | coverage 23 | *.lcov 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # TypeScript v1 declaration files 45 | typings/ 46 | 47 | # TypeScript cache 48 | *.tsbuildinfo 49 | 50 | # Optional npm cache directory 51 | .npm 52 | 53 | # Optional eslint cache 54 | .eslintcache 55 | 56 | # Microbundle cache 57 | .rpt2_cache/ 58 | .rts2_cache_cjs/ 59 | .rts2_cache_es/ 60 | .rts2_cache_umd/ 61 | 62 | # Optional REPL history 63 | .node_repl_history 64 | 65 | # Output of 'npm pack' 66 | *.tgz 67 | 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | 71 | # dotenv environment variables file 72 | .env 73 | .env.test 74 | 75 | # parcel-bundler cache (https://parceljs.org/) 76 | .cache 77 | 78 | # Next.js build output 79 | .next 80 | 81 | # Nuxt.js build / generate output 82 | .nuxt 83 | dist 84 | 85 | # Gatsby files 86 | .cache/ 87 | # Comment in the public line in if your project uses Gatsby and *not* Next.js 88 | # https://nextjs.org/blog/next-9-1#public-directory-support 89 | # public 90 | 91 | # vuepress build output 92 | .vuepress/dist 93 | 94 | # Serverless directories 95 | .serverless/ 96 | 97 | # FuseBox cache 98 | .fusebox/ 99 | 100 | # DynamoDB Local files 101 | .dynamodb/ 102 | 103 | # TernJS port file 104 | .tern-port 105 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .github 3 | package-lock.json 4 | .gitignore 5 | index.html 6 | .vscode 7 | bundle.js 8 | build 9 | index.html 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 TechMojo Solutions Private Limited 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![log-enhancer](https://github.com/tech-mojo/log-enhancer/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/tech-mojo/log-enhancer/actions/workflows/npm-publish.yml) 2 | ![NPM](https://img.shields.io/npm/l/log-enhancer) 3 | ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/log-enhancer) 4 | ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/tech-mojo/log-enhancer) 5 | ![GitHub repo size](https://img.shields.io/github/repo-size/tech-mojo/log-enhancer) 6 | ![npm](https://img.shields.io/npm/dw/log-enhancer) 7 | 8 | # log-enhancer 9 | 10 | log-enhancer is a JavaScript class that provides a simple, customizable logging interface for your Node.js applications. It allows you to specify the theme and style of your logs, and supports multiple styles including colored text, emojis, labels, and more. 11 | 12 | ## Installation 13 | 14 | To use `log-enhancer` in your Node.js project, install it via npm: 15 | 16 | ```bash 17 | npm install log-enhancer 18 | ``` 19 | 20 | ## Usage 21 | 22 | Import the `log-enhancer` class and create a new instance, passing in the desired theme and style (optional, defaults to 'default' theme and 'colors' style). 23 | 24 | ```javascript 25 | import { logger } from 'log-enhancer'; 26 | const myLogger = new logger('default', 'colors'); 27 | myLogger.log('Hello, world!'); 28 | ``` 29 | 30 | ### Themes 31 | 32 | `log-enhancer` comes with a set of pre-defined color themes that you can use to customize the look of your logs. The available themes are: 33 | 34 | * arctic 35 | * aurora 36 | * autumn 37 | * beach 38 | * burgundy 39 | * celestial 40 | * cinnamon 41 | * citrus 42 | * coral 43 | * cosmic 44 | * default 45 | * desert 46 | * ember 47 | * enchanted 48 | * galaxy 49 | * inferno 50 | * ivory 51 | * jungle 52 | * lavender 53 | * midnight 54 | * navy 55 | * neon 56 | * ocean 57 | * oceanic 58 | * orchid 59 | * rainbow 60 | * rose 61 | * ruby 62 | * sage 63 | * sandstorm 64 | * silver 65 | * skyline 66 | * subtle 67 | * sunburst 68 | * sunset 69 | * teal 70 | * twilight 71 | * volcano 72 | * winter 73 | 74 | To set the theme for a logger instance, call the `setTheme` method and pass in the theme name as a string: 75 | 76 | ```javascript 77 | myLogger.setTheme('ocean'); 78 | ``` 79 | 80 | ### Styles 81 | 82 | `log-enhancer` supports multiple styles for your logs, including colored text, emojis, labels, and more. The available styles are: 83 | 84 | * animals 85 | * circles 86 | * colors 87 | * emojis 88 | * flowers 89 | * hands 90 | * hearts 91 | * labels 92 | * smileys 93 | * squares 94 | * symbols 95 | * unicode 96 | * weather 97 | 98 | To set the style for a logger instance, call the `setStyle` method and pass in the style name as a string: 99 | 100 | ```javascript 101 | myLogger.setStyle('emojis'); 102 | ``` 103 | 104 | ### Methods 105 | 106 | `log-enhancer` provides several logging methods that correspond to the different log levels (log, warn, info, success, and error). Each method takes one or more arguments to be logged. 107 | 108 | ```javascript 109 | myLogger.log('This is a log message'); 110 | myLogger.warn('This is a warning message'); 111 | myLogger.info('This is an info message'); 112 | myLogger.success('This is a success message'); 113 | myLogger.error('This is an error message'); 114 | ``` 115 | 116 | ### Override Console.log 117 | 118 | You can also override the existing `console.log` with log-enhancer. 119 | 120 | ```javascript 121 | import { logger } from 'log-enhancer'; 122 | const console = logger; 123 | 124 | console.setTheme('beach'); 125 | console.setStyle('labels'); 126 | 127 | console.log('test'); 128 | ``` 129 | 130 | ### Example 131 | 132 | You can check examples in `example.js` 133 | 134 | ## License 135 | 136 | log-enhancer is licensed under the MIT License. 137 | -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- 1 | import logger from './index.js'; 2 | const console = new logger('default', 'colors'); 3 | 4 | // Set Style and Theme 5 | console.setTheme('aurora'); 6 | 7 | // Test all the Styles 8 | console.setStyle('animals'); 9 | console.log('This is a log'); 10 | console.warn('This is a warning'); 11 | console.info('This is a info'); 12 | console.error('This is a error'); 13 | console.success('This is a success'); 14 | console.test('This is undefined'); 15 | 16 | console.setStyle('circles'); 17 | console.log('This is a log'); 18 | console.warn('This is a warning'); 19 | console.info('This is a info'); 20 | console.error('This is a error'); 21 | console.success('This is a success'); 22 | console.test('This is undefined'); 23 | 24 | console.setStyle('colors'); 25 | console.log('This is a log'); 26 | console.warn('This is a warning'); 27 | console.info('This is a info'); 28 | console.error('This is a error'); 29 | console.success('This is a success'); 30 | console.test('This is undefined'); 31 | 32 | console.setStyle('emojis'); 33 | console.log('This is a log'); 34 | console.warn('This is a warning'); 35 | console.info('This is a info'); 36 | console.error('This is a error'); 37 | console.success('This is a success'); 38 | console.test('This is undefined'); 39 | 40 | console.setStyle('flowers'); 41 | console.log('This is a log'); 42 | console.warn('This is a warning'); 43 | console.info('This is a info'); 44 | console.error('This is a error'); 45 | console.success('This is a success'); 46 | console.test('This is undefined'); 47 | 48 | console.setStyle('hands'); 49 | console.log('This is a log'); 50 | console.warn('This is a warning'); 51 | console.info('This is a info'); 52 | console.error('This is a error'); 53 | console.success('This is a success'); 54 | console.test('This is undefined'); 55 | 56 | console.setStyle('hearts'); 57 | console.log('This is a log'); 58 | console.warn('This is a warning'); 59 | console.info('This is a info'); 60 | console.error('This is a error'); 61 | console.success('This is a success'); 62 | console.test('This is undefined'); 63 | 64 | console.setStyle('labels'); 65 | console.log('This is a log'); 66 | console.warn('This is a warning'); 67 | console.info('This is a info'); 68 | console.error('This is a error'); 69 | console.success('This is a success'); 70 | console.test('This is undefined'); 71 | 72 | console.setStyle('smileys'); 73 | console.log('This is a log'); 74 | console.warn('This is a warning'); 75 | console.info('This is a info'); 76 | console.error('This is a error'); 77 | console.success('This is a success'); 78 | console.test('This is undefined'); 79 | 80 | console.setStyle('squares'); 81 | console.log('This is a log'); 82 | console.warn('This is a warning'); 83 | console.info('This is a info'); 84 | console.error('This is a error'); 85 | console.success('This is a success'); 86 | console.test('This is undefined'); 87 | 88 | console.setStyle('symbols'); 89 | console.log('This is a log'); 90 | console.warn('This is a warning'); 91 | console.info('This is a info'); 92 | console.error('This is a error'); 93 | console.success('This is a success'); 94 | console.test('This is undefined'); 95 | 96 | console.setStyle('unicode'); 97 | console.log('This is a log'); 98 | console.warn('This is a warning'); 99 | console.info('This is a info'); 100 | console.error('This is a error'); 101 | console.success('This is a success'); 102 | console.test('This is undefined'); 103 | 104 | console.setStyle('weather'); 105 | console.log('This is a log'); 106 | console.warn('This is a warning'); 107 | console.info('This is a info'); 108 | console.error('This is a error'); 109 | console.success('This is a success'); 110 | console.test('This is undefined'); 111 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import logger from './src/logger.js'; 2 | export default logger; 3 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log-enhancer", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "log-enhancer", 9 | "version": "1.0.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "chalk": "^5.2.0" 13 | }, 14 | "devDependencies": { 15 | "prettier-formatter": "^1.1.0" 16 | } 17 | }, 18 | "node_modules/chalk": { 19 | "version": "5.2.0", 20 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", 21 | "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", 22 | "engines": { 23 | "node": "^12.17.0 || ^14.13 || >=16.0.0" 24 | }, 25 | "funding": { 26 | "url": "https://github.com/chalk/chalk?sponsor=1" 27 | } 28 | }, 29 | "node_modules/prettier-formatter": { 30 | "version": "1.1.0", 31 | "resolved": "https://registry.npmjs.org/prettier-formatter/-/prettier-formatter-1.1.0.tgz", 32 | "integrity": "sha512-4q2OHiKX4VJkAhsEOf4rcJKfTYn0TUWzXDyq8SUn+f9xlVBtw5zZvOglftwyP1C5uFKO6bFkpyVvalV2Gv32PQ==", 33 | "dev": true 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log-enhancer", 3 | "version": "1.0.1", 4 | "description": "Extends and enhances console.log with various symbols and themes", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/tech-mojo/log-enhancer.git" 9 | }, 10 | "keywords": [ 11 | "cli", 12 | "cmd", 13 | "log", 14 | "logging", 15 | "console.log", 16 | "console", 17 | "terminal", 18 | "theme" 19 | ], 20 | "author": "TechMojo Solutions", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/tech-mojo/log-enhancer/issues" 24 | }, 25 | "homepage": "https://github.com/tech-mojo/log-enhancer#readme", 26 | "dependencies": { 27 | "chalk": "^5.2.0" 28 | }, 29 | "devDependencies": { 30 | "prettier-formatter": "^1.1.0" 31 | }, 32 | "type": "module", 33 | "prettier": "prettier-formatter", 34 | "reveal": true 35 | } 36 | -------------------------------------------------------------------------------- /src/logger.js: -------------------------------------------------------------------------------- 1 | import chalk from 'chalk'; 2 | import styles from './styles.json' assert { type: 'json' }; 3 | import themes from './themes.json' assert { type: 'json' }; 4 | 5 | export default class logger { 6 | constructor(theme = 'default', style = 'colors') { 7 | this.setTheme(theme); 8 | this.setStyle(style); 9 | 10 | return new Proxy(this, { 11 | get(target, prop) { 12 | if (typeof target[prop] === 'function') { 13 | return target[prop].bind(target); 14 | } else { 15 | return target['log'].bind(target); 16 | } 17 | } 18 | }); 19 | } 20 | 21 | setTheme(theme) { 22 | if (!themes[theme]) { 23 | console.warn(`Theme '${theme}' not found. Using default theme.`); 24 | theme = 'default'; 25 | } 26 | this.theme = themes[theme]; 27 | this.themeName = theme; 28 | } 29 | 30 | setStyle(style) { 31 | if (!styles[style]) { 32 | console.warn(`Style '${style}' not found. Using default style.`); 33 | style = 'colors'; 34 | } 35 | this.style = styles[style]; 36 | this.styleName = style; 37 | } 38 | 39 | log(...args) { 40 | const { log } = this.style; 41 | switch (this.styleName) { 42 | case 'colors': 43 | console.log(chalk.hex(this.theme.log)(args.join(' '))); 44 | break; 45 | case 'unicode': 46 | console.log( 47 | `${chalk.hex(this.theme.log)(log)} ${args.join(' ')}` 48 | ); 49 | break; 50 | case 'labels': 51 | console.log( 52 | `${chalk.bgHex(this.theme.log)(` ${log} `)} ${args.join( 53 | ' ' 54 | )}` 55 | ); 56 | break; 57 | default: 58 | console.log(`${log} ${args.join(' ')}`); 59 | } 60 | } 61 | 62 | warn(...args) { 63 | const { warn } = this.style; 64 | switch (this.styleName) { 65 | case 'colors': 66 | console.warn(chalk.hex(this.theme.warn)(args.join(' '))); 67 | break; 68 | case 'unicode': 69 | console.warn( 70 | `${chalk.hex(this.theme.warn)(warn)} ${args.join(' ')}` 71 | ); 72 | break; 73 | case 'labels': 74 | console.warn( 75 | `${chalk.bgHex(this.theme.warn)(` ${warn} `)} ${args.join( 76 | ' ' 77 | )}` 78 | ); 79 | break; 80 | default: 81 | console.warn(`${warn} ${args.join(' ')}`); 82 | } 83 | } 84 | 85 | info(...args) { 86 | const { info } = this.style; 87 | switch (this.styleName) { 88 | case 'colors': 89 | console.info(chalk.hex(this.theme.info)(args.join(' '))); 90 | break; 91 | case 'unicode': 92 | console.info( 93 | `${chalk.hex(this.theme.info)(info)} ${args.join(' ')}` 94 | ); 95 | break; 96 | case 'labels': 97 | console.info( 98 | `${chalk.bgHex(this.theme.info)(` ${info} `)} ${args.join( 99 | ' ' 100 | )}` 101 | ); 102 | break; 103 | default: 104 | console.info(`${info} ${args.join(' ')}`); 105 | } 106 | } 107 | 108 | success(...args) { 109 | const { success } = this.style; 110 | switch (this.styleName) { 111 | case 'colors': 112 | console.log(chalk.hex(this.theme.success)(args.join(' '))); 113 | break; 114 | case 'unicode': 115 | console.log( 116 | `${chalk.hex(this.theme.success)(success)} ${args.join( 117 | ' ' 118 | )}` 119 | ); 120 | break; 121 | case 'labels': 122 | console.log( 123 | `${chalk.bgHex(this.theme.success)( 124 | ` ${success} ` 125 | )} ${args.join(' ')}` 126 | ); 127 | break; 128 | default: 129 | console.log(`${success} ${args.join(' ')}`); 130 | } 131 | } 132 | 133 | error(...args) { 134 | const { error } = this.style; 135 | switch (this.styleName) { 136 | case 'colors': 137 | console.error(chalk.hex(this.theme.error)(args.join(' '))); 138 | break; 139 | case 'unicode': 140 | console.error( 141 | `${chalk.hex(this.theme.error)(error)} ${args.join(' ')}` 142 | ); 143 | break; 144 | case 'labels': 145 | console.error( 146 | `${chalk.bgHex(this.theme.error)(` ${error} `)} ${args.join( 147 | ' ' 148 | )}` 149 | ); 150 | break; 151 | default: 152 | console.error(`${error} ${args.join(' ')}`); 153 | } 154 | } 155 | } 156 | -------------------------------------------------------------------------------- /src/styles.json: -------------------------------------------------------------------------------- 1 | { 2 | "animals": { 3 | "log": "🐘", 4 | "warn": "🦁", 5 | "info": "🐬", 6 | "success": "🦅", 7 | "error": "🐍" 8 | }, 9 | "circles": { 10 | "log": "🟡", 11 | "warn": "🟠", 12 | "info": "🔵", 13 | "success": "🟢", 14 | "error": "🔴" 15 | }, 16 | "colors": { 17 | "log": "LOG", 18 | "warn": "WARNING", 19 | "info": "INFO", 20 | "success": "SUCCESS", 21 | "error": "ERROR" 22 | }, 23 | "emojis": { 24 | "log": "🚧", 25 | "warn": "⚠️", 26 | "info": "ℹ️", 27 | "success": "✅", 28 | "error": "❌" 29 | }, 30 | "flowers": { 31 | "log": "🌸", 32 | "warn": "🌻", 33 | "info": "🌼", 34 | "success": "🌺", 35 | "error": "🥀" 36 | }, 37 | "hands": { 38 | "log": "👉", 39 | "warn": "🤞", 40 | "info": "👌", 41 | "success": "👍", 42 | "error": "👊" 43 | }, 44 | "hearts": { 45 | "log": "💛", 46 | "warn": "🧡", 47 | "info": "💙", 48 | "success": "💚", 49 | "error": "❤️" 50 | }, 51 | "labels": { 52 | "log": "LOG", 53 | "warn": "WARNING", 54 | "info": "INFO", 55 | "success": "SUCCESS", 56 | "error": "ERROR" 57 | }, 58 | "smileys": { 59 | "log": "🙃", 60 | "warn": "😒", 61 | "info": "🙂", 62 | "success": "😍", 63 | "error": "😡" 64 | }, 65 | "squares": { 66 | "log": "🟨", 67 | "warn": "🟧", 68 | "info": "🟦", 69 | "success": "🟩", 70 | "error": "🟥" 71 | }, 72 | "symbols": { 73 | "log": "❕", 74 | "warn": "❗", 75 | "info": "❔", 76 | "success": "✅", 77 | "error": "⭕" 78 | }, 79 | "unicode": { 80 | "log": "|", 81 | "warn": "⚠", 82 | "info": "ℹ", 83 | "success": "✓", 84 | "error": "˟" 85 | }, 86 | "weather": { 87 | "log": "🌤️", 88 | "warn": "⛈️", 89 | "info": "☀️", 90 | "success": "🌈", 91 | "error": "🌪️" 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/themes.json: -------------------------------------------------------------------------------- 1 | { 2 | "arctic": { 3 | "log": "#B0C4DE", 4 | "warn": "#FFD700", 5 | "info": "#00BFFF", 6 | "success": "#98FB98", 7 | "error": "#FF0000" 8 | }, 9 | "aurora": { 10 | "log": "#FFA07A", 11 | "warn": "#FFD700", 12 | "info": "#40E0D0", 13 | "success": "#00FA9A", 14 | "error": "#EE82EE" 15 | }, 16 | "autumn": { 17 | "log": "#F0E68C", 18 | "warn": "#FFA07A", 19 | "info": "#87CEFA", 20 | "success": "#8FBC8F", 21 | "error": "#DC143C" 22 | }, 23 | "beach": { 24 | "log": "#FFDAB9", 25 | "warn": "#F4A460", 26 | "info": "#ADD8E6", 27 | "success": "#90EE90", 28 | "error": "#CD5C5C" 29 | }, 30 | "burgundy": { 31 | "log": "#800000", 32 | "warn": "#8B0000", 33 | "info": "#800080", 34 | "success": "#556B2F", 35 | "error": "#DC143C" 36 | }, 37 | "celestial": { 38 | "log": "#87CEEB", 39 | "warn": "#FFD700", 40 | "info": "#00BFFF", 41 | "success": "#FFD700", 42 | "error": "#FF0000" 43 | }, 44 | "cinnamon": { 45 | "log": "#D2691E", 46 | "warn": "#FFDAB9", 47 | "info": "#4682B4", 48 | "success": "#32CD32", 49 | "error": "#FF6347" 50 | }, 51 | "citrus": { 52 | "log": "#FFA500", 53 | "warn": "#FFD700", 54 | "info": "#00BFFF", 55 | "success": "#32CD32", 56 | "error": "#FF0000" 57 | }, 58 | "coral": { 59 | "log": "#FF7F50", 60 | "warn": "#FF6347", 61 | "info": "#FF4500", 62 | "success": "#FFD700", 63 | "error": "#FF0000" 64 | }, 65 | "cosmic": { 66 | "log": "#6A5ACD", 67 | "warn": "#FFD700", 68 | "info": "#1E90FF", 69 | "success": "#00FF7F", 70 | "error": "#FF1493" 71 | }, 72 | "default": { 73 | "log": "#2f4f4f", 74 | "warn": "#ff9900", 75 | "info": "#0099cc", 76 | "success": "#00cc66", 77 | "error": "#cc0000" 78 | }, 79 | "desert": { 80 | "log": "#FFE4C4", 81 | "warn": "#FFA07A", 82 | "info": "#00BFFF", 83 | "success": "#32CD32", 84 | "error": "#FF0000" 85 | }, 86 | "ember": { 87 | "log": "#FF4500", 88 | "warn": "#FFD700", 89 | "info": "#FFA07A", 90 | "success": "#FF8C00", 91 | "error": "#B22222" 92 | }, 93 | "enchanted": { 94 | "log": "#BA55D3", 95 | "warn": "#FFD700", 96 | "info": "#87CEFA", 97 | "success": "#00FA9A", 98 | "error": "#CD5C5C" 99 | }, 100 | "galaxy": { 101 | "log": "#FFFFFF", 102 | "warn": "#F0E68C", 103 | "info": "#87CEFA", 104 | "success": "#00FF7F", 105 | "error": "#FF1493" 106 | }, 107 | "inferno": { 108 | "log": "#FF4500", 109 | "warn": "#FFD700", 110 | "info": "#DC143C", 111 | "success": "#FF8C00", 112 | "error": "#B22222" 113 | }, 114 | "ivory": { 115 | "log": "#FFFFF0", 116 | "warn": "#FAEBD7", 117 | "info": "#F5F5DC", 118 | "success": "#F0FFF0", 119 | "error": "#FFE4E1" 120 | }, 121 | "jungle": { 122 | "log": "#FFFACD", 123 | "warn": "#FFD700", 124 | "info": "#00CED1", 125 | "success": "#32CD32", 126 | "error": "#FF4500" 127 | }, 128 | "lavender": { 129 | "log": "#E6E6FA", 130 | "warn": "#FFD700", 131 | "info": "#9370DB", 132 | "success": "#32CD32", 133 | "error": "#CD5C5C" 134 | }, 135 | "midnight": { 136 | "log": "#191970", 137 | "warn": "#FFD700", 138 | "info": "#00BFFF", 139 | "success": "#32CD32", 140 | "error": "#8B0000" 141 | }, 142 | "navy": { 143 | "log": "#000080", 144 | "warn": "#191970", 145 | "info": "#ADD8E6", 146 | "success": "#00FFFF", 147 | "error": "#F08080" 148 | }, 149 | "neon": { 150 | "log": "#FF00FF", 151 | "warn": "#FFFF00", 152 | "info": "#00FFFF", 153 | "success": "#00FF00", 154 | "error": "#FF0000" 155 | }, 156 | "ocean": { 157 | "log": "#B0C4DE", 158 | "warn": "#FFD700", 159 | "info": "#ADD8E6", 160 | "success": "#00FA9A", 161 | "error": "#DC143C" 162 | }, 163 | "oceanic": { 164 | "log": "#ADD8E6", 165 | "warn": "#FFA07A", 166 | "info": "#00BFFF", 167 | "success": "#32CD32", 168 | "error": "#8B0000" 169 | }, 170 | "orchid": { 171 | "log": "#DA70D6", 172 | "warn": "#FFA07A", 173 | "info": "#4169E1", 174 | "success": "#ADFF2F", 175 | "error": "#FF4500" 176 | }, 177 | "rainbow": { 178 | "log": "#FFD700", 179 | "warn": "#FFA07A", 180 | "info": "#00BFFF", 181 | "success": "#32CD32", 182 | "error": "#800080" 183 | }, 184 | "rose": { 185 | "log": "#FF69B4", 186 | "warn": "#F08080", 187 | "info": "#87CEEB", 188 | "success": "#20B2AA", 189 | "error": "#CD5C5C" 190 | }, 191 | "ruby": { 192 | "log": "#D02090", 193 | "warn": "#FFD700", 194 | "info": "#00BFFF", 195 | "success": "#32CD32", 196 | "error": "#8B0000" 197 | }, 198 | "sage": { 199 | "log": "#BC8F8F", 200 | "warn": "#D8BFD8", 201 | "info": "#7FFFD4", 202 | "success": "#98FB98", 203 | "error": "#FF7F50" 204 | }, 205 | "sandstorm": { 206 | "log": "#D2B48C", 207 | "warn": "#FFDEAD", 208 | "info": "#B0C4DE", 209 | "success": "#98FB98", 210 | "error": "#FF6347" 211 | }, 212 | "silver": { 213 | "log": "#C0C0C0", 214 | "warn": "#D3D3D3", 215 | "info": "#808080", 216 | "success": "#BEBEBE", 217 | "error": "#A9A9A9" 218 | }, 219 | "skyline": { 220 | "log": "#87CEFA", 221 | "warn": "#FFD700", 222 | "info": "#00BFFF", 223 | "success": "#ADFF2F", 224 | "error": "#FF0000" 225 | }, 226 | "subtle": { 227 | "log": "#ff8c00cc", 228 | "warn": "#ffd700cc", 229 | "info": "#00bfffcc", 230 | "success": "#008000cc", 231 | "error": "#ff4500cc" 232 | }, 233 | "sunburst": { 234 | "log": "#FFC107", 235 | "warn": "#FFA07A", 236 | "info": "#FF4500", 237 | "success": "#FFD700", 238 | "error": "#FF0000" 239 | }, 240 | "sunset": { 241 | "log": "#FFA07A", 242 | "warn": "#FFD700", 243 | "info": "#00BFFF", 244 | "success": "#FFC0CB", 245 | "error": "#DC143C" 246 | }, 247 | "teal": { 248 | "log": "#008080", 249 | "warn": "#008B8B", 250 | "info": "#00FFFF", 251 | "success": "#00CED1", 252 | "error": "#00FA9A" 253 | }, 254 | "twilight": { 255 | "log": "#6B8E23", 256 | "warn": "#FFD700", 257 | "info": "#4B0082", 258 | "success": "#00FF7F", 259 | "error": "#9400D3" 260 | }, 261 | "volcano": { 262 | "log": "#FFA07A", 263 | "warn": "#FFD700", 264 | "info": "#1E90FF", 265 | "success": "#FF6347", 266 | "error": "#8B0000" 267 | }, 268 | "winter": { 269 | "log": "#F0F8FF", 270 | "warn": "#FFD700", 271 | "info": "#B0E0E6", 272 | "success": "#00FF7F", 273 | "error": "#FF6347" 274 | } 275 | } 276 | --------------------------------------------------------------------------------