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

amplify-cli-logger

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-cli-logger - npm Package Compare versions

Comparing version 1.2.2-searchable-mocking-test.0 to 1.2.2-stack-mapping-dec-22.0

8

API.md

@@ -7,11 +7,11 @@ ## API Report File for "amplify-cli-logger"

// @public (undocumented)
export const LocalLogDirectory: string;
// Warning: (ae-forgotten-export) The symbol "IAmplifyLogger" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const logger: IAmplifyLogger;
export const getAmplifyLogger: () => IAmplifyLogger;
// @public (undocumented)
export const LocalLogDirectory: string;
// @public (undocumented)
export const Redactor: (arg: string | undefined) => string;

@@ -18,0 +18,0 @@

@@ -6,10 +6,13 @@ # Change Log

## [1.2.2-searchable-mocking-test.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.2.1...amplify-cli-logger@1.2.2-searchable-mocking-test.0) (2022-11-23)
## [1.2.2-stack-mapping-dec-22.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.2.1...amplify-cli-logger@1.2.2-stack-mapping-dec-22.0) (2022-12-13)
**Note:** Version bump only for package amplify-cli-logger
### Bug Fixes
* improved resolution message on permissions error ([#11558](https://github.com/aws-amplify/amplify-cli/issues/11558)) ([c220921](https://github.com/aws-amplify/amplify-cli/commit/c2209211cc76b1b65ac2b50391456c688f42d795))
## [1.2.1](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.2.0...amplify-cli-logger@1.2.1) (2022-10-13)

@@ -16,0 +19,0 @@

import { IAmplifyLogger } from './IAmplifyLogger';
export { Redactor, stringMasker } from './Redactor';
export declare const logger: IAmplifyLogger;
export declare const LocalLogDirectory: string;
export declare const getAmplifyLogger: () => IAmplifyLogger;
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LocalLogDirectory = exports.logger = exports.stringMasker = exports.Redactor = void 0;
exports.getAmplifyLogger = exports.LocalLogDirectory = exports.stringMasker = exports.Redactor = void 0;
const AmplifyLogger_1 = require("./AmplifyLogger");

@@ -9,4 +9,11 @@ const constants_1 = require("./constants");

Object.defineProperty(exports, "stringMasker", { enumerable: true, get: function () { return Redactor_1.stringMasker; } });
exports.logger = new AmplifyLogger_1.AmplifyLogger();
exports.LocalLogDirectory = constants_1.constants.LOG_DIRECTORY;
let logger;
const getAmplifyLogger = () => {
if (!logger) {
logger = new AmplifyLogger_1.AmplifyLogger();
}
return logger;
};
exports.getAmplifyLogger = getAmplifyLogger;
//# sourceMappingURL=index.js.map
{
"name": "amplify-cli-logger",
"version": "1.2.2-searchable-mocking-test.0",
"version": "1.2.2-stack-mapping-dec-22.0",
"description": "Amplify CLI Logger",

@@ -47,3 +47,3 @@ "main": "lib/index.js",

},
"gitHead": "ce1bbbcf84c8ee61034bdd72034ba2c2622fe130"
"gitHead": "15854271a7fd903733d88e50aa59ae90fd198079"
}
import { AmplifyLogger } from './AmplifyLogger';
import { IAmplifyLogger } from './IAmplifyLogger';
import { constants } from './constants';
export { Redactor, stringMasker } from './Redactor';
export const logger: IAmplifyLogger = new AmplifyLogger();
export const LocalLogDirectory = constants.LOG_DIRECTORY;
let logger: IAmplifyLogger| undefined;
/**
* Get the logger instance
*/
export const getAmplifyLogger = (): IAmplifyLogger => {
if (!logger) {
logger = new AmplifyLogger();
}
return logger;
};

Sorry, the diff of this file is not supported yet

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