no-shot / env
1
/**
2
 * A utility function that logs a debug message.
3
 *
4
 * @param message
5
 */
6 1
export function logMessage(message: string): void {
7 1
  console.log(`\x1b[90m[env]: ${message}\x1b[0m`);
8
}
9

10
/**
11
 * A utility function that logs a warning message.
12
 *
13
 * @param message
14
 */
15 1
export function logWarning(message: string): void {
16 1
  console.log(`\x1b[33m[env]: ${message}\x1b[0m`);
17
}

Read our documentation on viewing source code .

Loading