UNPKG

@log-rush/log-formatter

Version:

Parse/Format/Style colored logs

15 lines (14 loc) 907 B
import { BlinkEffect, ColorEffect, ColorModeEffect, ConcealedEffect, CrossedOutEffect, ItalicEffect, NegativeEffect, TextWeightEffect, UnderlineEffect } from './effects'; export declare type SGREffect = { weight: PropertyOf<typeof TextWeightEffect> | undefined; italic: PropertyOf<typeof ItalicEffect> | undefined; underline: PropertyOf<typeof UnderlineEffect> | undefined; foregroundMode: PropertyOf<typeof ColorModeEffect> | undefined; foreground: PropertyOf<typeof ColorEffect> | string | undefined; backgroundMode: PropertyOf<typeof ColorModeEffect> | undefined; background: PropertyOf<typeof ColorEffect> | string | undefined; blink: PropertyOf<typeof BlinkEffect> | undefined; inverted: PropertyOf<typeof NegativeEffect> | undefined; crossedOut: PropertyOf<typeof CrossedOutEffect> | undefined; concealed: PropertyOf<typeof ConcealedEffect> | undefined; };