import Logger, { SourceType, MessageType, LogLevels, Status } from "@imperian-systems/logger";
const source: SourceType = {
client_name: "Imperian",
platform: "Linux",
type: "JavaScript",
name: "Tim's app",
detail: "Test from index.ts",
};
const logger = new Logger(source, "https://logserver/api/logs");
const message: MessageType = {
attempt: 1,
status: Status.SUCCESS,
log_level: LogLevels.INFO,
message: "Hello, world!",
};
logger.record(message);
-
Notifications
You must be signed in to change notification settings - Fork 0
imperian-systems/logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published