Skip to content

Commit

Permalink
fix: add helpers for route/routes
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jul 28, 2023
1 parent b016ec3 commit 7cad59e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/services/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const HELPERS = /** @type {const} */ ({
devices: chalk.hex('#ff9800')('[DEVICE]'),
nests: chalk.hex('#ff5724')('[NESTS]'),
portals: chalk.hex('#795548')('[PORTALS]'),
route: chalk.hex('#607d8b')('[ROUTE]'),
routes: chalk.hex('#9e9e9e')('[ROUTES]'),

custom: (text = '', color = '#64b5f6') =>
chalk.hex(color)(`[${text.toUpperCase()}]`),
Expand Down

0 comments on commit 7cad59e

Please # to comment.