Skip to content

Custom

js
import kittylog from "kittylog";

kittylog.custom("red", "CUSTOM", "Custom...");
Custom Parameters

PARAMETERS

ts
interface CustomParameters {
  color: Color;
  label: string;
  message: string;
}

type Color =
  | "default"
  | "underscore"
  | "bright"
  | "dim"
  | "blink"
  | "reverse"
  | "hidden"
  | "black"
  | "red"
  | "green"
  | "yellow"
  | "blue"
  | "magenta"
  | "cyan"
  | "white";

Support for rest parameters

custom support rest parameters

js
kittylog.custom("magenta", "CUSTOM", "Hello", ...)

Released under the MIT License.