Change name of class
This commit is contained in:
parent
357b98c69a
commit
6daf815ea8
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "logging",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.3",
|
||||
"description": "",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/logging",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.3",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"types": "out/index.d.ts",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { LoggingBase as LoggingClass } from "./base.js";
|
||||
export { LoggingBase as Logging } from "./base.js";
|
||||
import { LoggingBase } from "./base.js";
|
||||
export { LoggingBase } from "./base.js";
|
||||
export { ConsoleAdapter } from "./consolewriter.js";
|
||||
export { ILoggingOptions, INativeFunctions } from "./base.js";
|
||||
|
||||
@ -16,6 +16,6 @@ export {
|
||||
IFormatted,
|
||||
} from "./types.js";
|
||||
|
||||
const Logging = new LoggingClass();
|
||||
const Logging = new LoggingBase();
|
||||
|
||||
export default Logging;
|
||||
|
@ -1,6 +1,6 @@
|
||||
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("i", "am", { a: "an" }, 1000);
|
||||
|
Loading…
Reference in New Issue
Block a user