INNER CODE UNIT · TypeScript

logs

mowispace/react-native-logs · src/index.ts:211

class logs<
  T extends
    | transportFunctionType<OptionsWithConsoleFunc>
    | transportFunctionType<OptionsWithConsoleFunc>[],
  K extends string,
> {
  private _levels: levelsType;
  private _level: string;
  private _transport: T;
  private _transportOptions: UnionToIntersection<MergeTransportOptions<T>>;
  private _async: boolean;
  private _asyncFunc: Function;
  private _stringifyFunc: (msg: any) => string;
  private _formatFunc?:
    | null
    | ((level: string, extension: string | null, msgs: any) => string);
  private _dateFormat: string | ((date: Date) => string);
  private _printLevel: boolean;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…