Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BufferedConsole.d.ts 1.5KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. /// <reference types="node" />
  8. import { Console } from 'console';
  9. import { InspectOptions } from 'util';
  10. import type { ConsoleBuffer, LogMessage, LogType } from './types';
  11. export default class BufferedConsole extends Console {
  12. private _buffer;
  13. private _counters;
  14. private _timers;
  15. private _groupDepth;
  16. Console: typeof Console;
  17. constructor();
  18. static write(buffer: ConsoleBuffer, type: LogType, message: LogMessage, level?: number | null): ConsoleBuffer;
  19. private _log;
  20. assert(value: unknown, message?: string | Error): void;
  21. count(label?: string): void;
  22. countReset(label?: string): void;
  23. debug(firstArg: unknown, ...rest: Array<unknown>): void;
  24. dir(firstArg: unknown, options?: InspectOptions): void;
  25. dirxml(firstArg: unknown, ...rest: Array<unknown>): void;
  26. error(firstArg: unknown, ...rest: Array<unknown>): void;
  27. group(title?: string, ...rest: Array<unknown>): void;
  28. groupCollapsed(title?: string, ...rest: Array<unknown>): void;
  29. groupEnd(): void;
  30. info(firstArg: unknown, ...rest: Array<unknown>): void;
  31. log(firstArg: unknown, ...rest: Array<unknown>): void;
  32. time(label?: string): void;
  33. timeEnd(label?: string): void;
  34. timeLog(label?: string, ...data: Array<unknown>): void;
  35. warn(firstArg: unknown, ...rest: Array<unknown>): void;
  36. getBuffer(): ConsoleBuffer | undefined;
  37. }