hard_logger_systems
v1.0.19
Published
# Syntex:
Downloads
2
Readme
logger_management_systems package is used for generating user activity.
Syntex:
import logger from "logger_management_systems" message={ name: "any", userId: "any", type:"any" description: "any", metadata: "ant", } logger.activity(message)
ENV:
databasetype=mongodb or mysql DBPASSWORD=xyz DBHOST=xyz DATABASE=xyz DBUSER=xyz
SQL QUERY:
CREATE TABLE logs
(
id
int NOT NULL AUTO_INCREMENT,
name
varchar(45) NOT NULL,
description
varchar(45) NOT NULL,
metadata
varchar(45) DEFAULT NULL,
type
varchar(45) NOT NULL,
createdAt
varchar(45) DEFAULT NULL,
updatedAt
varchar(45) DEFAULT NULL,
userId
varchar(45) DEFAULT NULL,
PRIMARY KEY (id
)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci