ui5-community / ui5-ecosystem-showcase

A repository showcasing the UI5 tooling extensibility to combine OSS tools for UI5 application development.
https://ui5-community.github.io/ui5-ecosystem-showcase/
Other
194 stars 93 forks source link

Use CAP logging to allow for log levels #1066

Closed schiwekM closed 2 months ago

schiwekM commented 2 months ago

Hi @petermuessig,

while the logs are no longer coloured, they can now be muted + the plugin reuses CAP logging allowing for less code.

"cds": {
        "log": {
            "levels": {
                "cds-plugin-ui5": "warn"
            }
        }
}

Muting logs below a certain severity helps during startup in larger projects with 20+ UI5 apps where its hard to find the important logs

BR, Marten

petermuessig commented 2 months ago

Hi Marten,

great idea and great PR. I needed to just massage it a bit more. Therefore, I created a new PR #1067 as I couldn't push on yours. But you are listed as co-author there as well.

Reasons:

Overall BIG THX for your contribution - but let's follow up on #1067 - closing this one here in favor of the other...