falydoor / aws-cloudwatch-ansi-colors Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Extension accesses: https://console.aws.amazon.com/*
My logs are at: https://eu-west-2.console.aws.amazon.com/*
So this may be why it doesn't work. Nice idea though.
Keen to use this plugin as it would make my life better.
I've installed it but it is having no noticeable impact on how my logs are displayed. This may just be me not knowing how to use this properly so apologies if so!
Sep 10 02:20:21 ip-172-31-8-114 web: #033[90m2022-09-10 02:20:21.610 #033[39m#033[1m#033[92mDEBUG#033[39m#033[22m #033[90m[src/service/character.service.ts:17 undefined.]#033[39m Found 1 characters for ConceptVersion with ID 1
I see those little squares appearing close to the colored strings. They appear at the beginning and at the end of every colored line.
I'm using nodeJS. I tested the colors of the following packages and the problem persists.
Here is an example of the code I get from those colorized strings:
"\u001b[90m{\u001b[39m\r \u001b[36m\"timestamp\"\u001b[39m\u001b[31m:\u001b[39m \u001b[33m\"1970-01-19T12:08:38.400Z\"\u001b[39m\u001b[90m,\u001b[39m\r \u001b[36m\"requestContext\"\u001b[39m\u001b[31m:\u001b[39m \u001b[90m{\u001b[39m\r \u001b[36m\"authorizer\"\u001b[39m\u001b[31m:\u001b[39m \u001b[90m{\u001b[39m\r \u001b[36m\"profileId\"\u001b[39m\u001b[31m:\u001b[39m \u001b[33m\"76169801-d7a6-4f03-bcb5-7f498187de17\"\u001b[39m\u001b[90m,\u001b[39m\r \u001b[36m\"accountId\"\u001b[39m\u001b[31m:\u001b[39m \u001b[33m\"76169801-d7a6-4f03-bcb5-7f498187de17\"\u001b[39m\r \u001b[90m}\u001b[39m\r \u001b[90m}\u001b[39m\u001b[90m,\u001b[39m\r \u001b[36m\"level\"\u001b[39m\u001b[31m:\u001b[39m \u001b[33m\"info\"\u001b[39m\u001b[90m,\u001b[39m\r \u001b[36m\"message\"\u001b[39m\u001b[31m:\u001b[39m \u001b[33m\"Starting request\"\u001b[39m\r\u001b[90m}\u001b[39m"
Would it be possible to allow this to be used on URLs other than the pattern that's in the metadata.json?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.