-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace console.log #84
Comments
I can look at it |
Perhaps we could include log4js for the logs? |
We could add something like this. https://github.com/empirical-run/appwright/blob/main/src/logger.ts For the stdout |
If we use log4ts, should we store the configuration in playwright.config or in a separate file? |
Is it this one?? |
I'm uncertain what to use. Initially I was thinking of Apache Logging Services but I just realized that there is nothing for ts/js so should I instead perhaps look at Prometheus or OpenTelemetry? |
Perhaps this one: https://www.npmjs.com/package/log4js Seams to have several appenders. Also several contributors |
Yep that looks pretty cool 👍 @Niklas-Back |
In fact we could handle all logging with this, we just need to add appenders |
I'll start with this based on your concept in pr #88 as soon as the branch of csvtuda is merged |
Cool
A sexta, 13/12/2024, 08:03, Niklas-Back ***@***.***> escreveu:
… I'll start with this based on your concept in pr #88
<#88> as soon as the branch
of csvtuda is merged
—
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEOX24SWTJM5SAC7GF3Q332FKIFJAVCNFSM6AAAAABSAZO7YGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBQHAZDCNRUG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry, been too busy lately but I will start to look at it after next release |
Is your feature request related to a problem? Please describe.
We need an alternative to console.log in the project so we don't have to repeat the code.
Describe the solution you'd like
Generate 2 new methods:
The text was updated successfully, but these errors were encountered: