truncateAndPad
@tsed/logger
Usage
typescript
import { truncateAndPad } from "@tsed/logger";
See /packages/logger/src/types/common/layouts/utils/StringUtils.ts.
Overview
ts
function truncateAndPad(toTruncAndPad: string, truncation: string, padding: string): string;