Logging/src/index.ts

28 lines
573 B
TypeScript
Raw Normal View History

2020-08-26 09:55:57 +00:00
import { LoggingBase } from "./base.js";
export { ConsoleAdapter } from "./consolewriter.js";
2019-04-05 02:22:52 +00:00
export {
2020-04-09 15:50:30 +00:00
LoggingBase,
LoggingBaseOptions,
removeColors,
withColor,
2020-08-26 09:55:57 +00:00
} from "./base.js";
2020-04-09 15:50:30 +00:00
export {
Adapter,
LoggingTypes,
Message,
FormatConfig,
FormattedLine,
DefaultFormatConfig as DefaultColorMap,
FormattedText,
Colors,
Format,
FormatTypes,
TerminalFormats,
2020-08-26 09:55:57 +00:00
} from "./types.js";
2019-04-05 02:22:52 +00:00
export { ObservableInterface } from "@hibas123/utils";
export let Logging: LoggingBase = undefined;
Logging = new LoggingBase();
export default Logging;