Change name of class
This commit is contained in:
parent
357b98c69a
commit
6daf815ea8
@ -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": [],
|
||||||
|
@ -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",
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user