@bracketed/logger
Version:
An alternative to your run-of-the-mill node console logging functions!
24 lines (21 loc) • 596 B
text/typescript
import { Color } from '../Colouring/index.mjs';
import { LoggerStyleResolvable } from './Resolvable.mjs';
import './Options.mjs';
import './Background.mjs';
import './Effect.mjs';
import './Text.mjs';
/**
* Logger utility that applies a style to a string.
* @since 1.0.0
*/
declare class LoggerStyle {
readonly style: Color;
constructor(resolvable?: LoggerStyleResolvable);
/**
* Applies the style to a string.
* @since 1.0.0
* @param string The value to apply the style to.
*/
run(string: string | number): string;
}
export { LoggerStyle };