@pnpm/logger
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -1,5 +0,5 @@ | ||
import logger, { Logger } from './logger'; | ||
import logger, { globalInfo, globalWarn, Logger } from './logger'; | ||
import streamParser, { createStreamParser, LogBase } from './streamParser'; | ||
import writeToConsole from './writeToConsole'; | ||
export default logger; | ||
export { streamParser, createStreamParser, writeToConsole, LogBase, Logger, }; | ||
export { globalInfo, globalWarn, streamParser, createStreamParser, writeToConsole, LogBase, Logger, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const logger_1 = require("./logger"); | ||
exports.globalInfo = logger_1.globalInfo; | ||
exports.globalWarn = logger_1.globalWarn; | ||
const streamParser_1 = require("./streamParser"); | ||
@@ -5,0 +7,0 @@ exports.streamParser = streamParser_1.default; |
@@ -17,1 +17,3 @@ declare const _default: Logger<object>; | ||
} | ||
export declare function globalWarn(message: string): void; | ||
export declare function globalInfo(message: string): void; |
@@ -6,2 +6,11 @@ "use strict"; | ||
exports.default = bole('pnpm'); | ||
const globalLogger = bole('pnpm:global'); | ||
function globalWarn(message) { | ||
globalLogger.warn(message); | ||
} | ||
exports.globalWarn = globalWarn; | ||
function globalInfo(message) { | ||
globalLogger.info(message); | ||
} | ||
exports.globalInfo = globalInfo; | ||
//# sourceMappingURL=logger.js.map |
{ | ||
"name": "@pnpm/logger", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Logger for pnpm", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7738
90