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.4-cdkv2.0 to 1.2.4-cdkv2.1

8

CHANGELOG.md

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

## [1.2.4-cdkv2.1](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.2.4-cdkv2.0...amplify-cli-logger@1.2.4-cdkv2.1) (2023-02-15)
**Note:** Version bump only for package amplify-cli-logger
## [1.2.4-cdkv2.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.2.3...amplify-cli-logger@1.2.4-cdkv2.0) (2023-02-07)

@@ -8,0 +16,0 @@

3

lib/AmplifyLogger.d.ts
import winston, { Logger } from 'winston';
import { IAmplifyLogger } from './IAmplifyLogger';
import { LocalProjectData, LogPayload, LogErrorPayload } from './Types';
import { LogPayload, LogErrorPayload } from './Types';
export declare class AmplifyLogger implements IAmplifyLogger {
logger: Logger;
loggerFormat: winston.Logform.Format;
localProjectData: LocalProjectData;
disabledAmplifyLogging: boolean;

@@ -9,0 +8,0 @@ constructor();

@@ -1,2 +0,1 @@

export type LocalProjectData = {};
export type LogPayload = {

@@ -3,0 +2,0 @@ message: string;

{
"name": "amplify-cli-logger",
"version": "1.2.4-cdkv2.0",
"version": "1.2.4-cdkv2.1",
"description": "Amplify CLI Logger",

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

},
"gitHead": "4eb9264b658210513795372431f195ff42a74644"
"gitHead": "46a85163e642f443d5cfd910d6e83fe3b82f645f"
}

@@ -7,3 +7,3 @@ import winston, { Logger, format } from 'winston';

import { getLogFilePath, getLocalLogFilePath, getLogAuditFilePath, getLocalAuditLogFile } from './getLogFilePath';
import { LocalProjectData, LogPayload, LogErrorPayload } from './Types';
import { LogPayload, LogErrorPayload } from './Types';
const { combine, timestamp, splat, printf } = format;

@@ -13,3 +13,2 @@ export class AmplifyLogger implements IAmplifyLogger {

loggerFormat: winston.Logform.Format;
localProjectData!: LocalProjectData;
disabledAmplifyLogging: boolean = process.env.AMPLIFY_CLI_DISABLE_LOGGING === 'true';

@@ -16,0 +15,0 @@ constructor() {

@@ -1,2 +0,1 @@

export type LocalProjectData = {};
export type LogPayload = {

@@ -3,0 +2,0 @@ message: string;

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

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