@lildiary/mongo-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@lildiary/mongo-logger

Log js objects to mongodb collection

Install

$ npm i @lildiary/mongo-logger

example

import { MongoLogger } from "@lildiary/mongo-logger";

const logger = new MongoLogger(db.collection("logs"), "test");
logger.log({ test: "test" });

Readme

Keywords

Package Sidebar

Install

npm i @lildiary/mongo-logger

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.81 kB

Total Files

7

Last publish

Collaborators

  • maxxxpavlov