Change name of class

This commit is contained in:
Fabian Stamm 2021-05-08 22:18:44 +02:00
parent 357b98c69a
commit 6daf815ea8
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "logging", "name": "logging",
"version": "3.0.1", "version": "3.0.3",
"description": "", "description": "",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"contributors": [], "contributors": [],

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/logging", "name": "@hibas123/logging",
"version": "3.0.1", "version": "3.0.3",
"description": "", "description": "",
"main": "out/index.js", "main": "out/index.js",
"types": "out/index.d.ts", "types": "out/index.d.ts",

View File

@ -1,5 +1,5 @@
import { LoggingBase as LoggingClass } from "./base.js"; import { LoggingBase } from "./base.js";
export { LoggingBase as Logging } from "./base.js"; export { LoggingBase } from "./base.js";
export { ConsoleAdapter } from "./consolewriter.js"; export { ConsoleAdapter } from "./consolewriter.js";
export { ILoggingOptions, INativeFunctions } from "./base.js"; export { ILoggingOptions, INativeFunctions } from "./base.js";
@ -16,6 +16,6 @@ export {
IFormatted, IFormatted,
} from "./types.js"; } from "./types.js";
const Logging = new LoggingClass(); const Logging = new LoggingBase();
export default Logging; export default Logging;

View File

@ -1,6 +1,6 @@
import Logging from "./index.js"; import Logging from "./index.js";
import { Logging as LoggingBase, LoggingTypes, Format } from "./index.js"; import { LoggingBase, LoggingTypes, Format } from "./index.js";
Logging.log("test"); Logging.log("test");
Logging.log("i", "am", { a: "an" }, 1000); Logging.log("i", "am", { a: "an" }, 1000);