Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@logtail/types

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logtail/types - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

14

dist/cjs/types.d.ts

@@ -39,7 +39,13 @@ /**

}
export declare type ILogLevel = LogLevel | string;
export declare enum LogLevel {
Error = "error",
Warn = "warn",
Info = "info",
Debug = "debug",
Info = "info",
Warn = "warn",
Error = "error"
Fatal = "fatal",
Http = "http",
Verbose = "verbose",
Silly = "silly",
Trace = "trace"
}

@@ -62,3 +68,3 @@ /**

dt: Date;
level: LogLevel;
level: ILogLevel;
message: string;

@@ -65,0 +71,0 @@ [key: string]: ContextKey | Context;

@@ -9,7 +9,14 @@ "use strict";

(function (LogLevel) {
// core log levels - available as functions
LogLevel["Error"] = "error";
LogLevel["Warn"] = "warn";
LogLevel["Info"] = "info";
LogLevel["Debug"] = "debug";
LogLevel["Info"] = "info";
LogLevel["Warn"] = "warn";
LogLevel["Error"] = "error";
// extra log levels - recognized when passed from logging frameworks
LogLevel["Fatal"] = "fatal";
LogLevel["Http"] = "http";
LogLevel["Verbose"] = "verbose";
LogLevel["Silly"] = "silly";
LogLevel["Trace"] = "trace";
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
//# sourceMappingURL=types.js.map

@@ -39,7 +39,13 @@ /**

}
export declare type ILogLevel = LogLevel | string;
export declare enum LogLevel {
Error = "error",
Warn = "warn",
Info = "info",
Debug = "debug",
Info = "info",
Warn = "warn",
Error = "error"
Fatal = "fatal",
Http = "http",
Verbose = "verbose",
Silly = "silly",
Trace = "trace"
}

@@ -62,3 +68,3 @@ /**

dt: Date;
level: LogLevel;
level: ILogLevel;
message: string;

@@ -65,0 +71,0 @@ [key: string]: ContextKey | Context;

@@ -6,7 +6,14 @@ /**

(function (LogLevel) {
// core log levels - available as functions
LogLevel["Error"] = "error";
LogLevel["Warn"] = "warn";
LogLevel["Info"] = "info";
LogLevel["Debug"] = "debug";
LogLevel["Info"] = "info";
LogLevel["Warn"] = "warn";
LogLevel["Error"] = "error";
// extra log levels - recognized when passed from logging frameworks
LogLevel["Fatal"] = "fatal";
LogLevel["Http"] = "http";
LogLevel["Verbose"] = "verbose";
LogLevel["Silly"] = "silly";
LogLevel["Trace"] = "trace";
})(LogLevel || (LogLevel = {}));
//# sourceMappingURL=types.js.map
{
"name": "@logtail/types",
"version": "0.2.2",
"version": "0.3.0",
"description": "Logtail.com - Typescript types",

@@ -46,3 +46,3 @@ "keywords": [

},
"gitHead": "7a5d7667b7abd6f8296584a878500266ed861d9d"
"gitHead": "86cb9542d2a1c12dcaa3104afb8df5c2c4a21ff5"
}

@@ -49,7 +49,16 @@ /**

export type ILogLevel = LogLevel | string;
export enum LogLevel {
// core log levels - available as functions
Error = "error",
Warn = "warn",
Info = "info",
Debug = "debug",
Info = "info",
Warn = "warn",
Error = "error"
// extra log levels - recognized when passed from logging frameworks
Fatal = "fatal",
Http = "http",
Verbose = "verbose",
Silly = "silly",
Trace = "trace",
}

@@ -69,3 +78,3 @@

dt: Date;
level: LogLevel;
level: ILogLevel;
message: string;

@@ -72,0 +81,0 @@ [key: string]: ContextKey | Context;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc