Comments (1)
I agree with all of these points. My understanding and reasoning are:
BaseHandler.log()
doesn't even need to exist for the same reasons that the other logging methods (i.e.warn()
, etc.) don't exist. That should be left up to the classes that extendBaseHandler
for consistency.ConsoleHandler.applyColors()
seems to be only being used internally in.format()
.- The user should use
FileHandler.destroy()
instead ofFileHandler.flush()
. - I don't see why a user must manually call
RotatingFileHandler.rotateLogFiles()
as this is automatically taken care of while using.log()
. - There doesn't seem to be a use case for
Logger.asString()
as part of the public API.
from deno_std.
Related Issues (20)
- to-do: answer remaining frequently asked questions HOT 1
- bug: flaky `Spinner.color` test
- Is devcontainer settings useful?
- proposal: stabilize `std/internal` HOT 3
- proposal: stabilize `std/uuid`
- [feature request(collections)] option to merge `undefined` in `deepMerge` HOT 4
- Feature request (async): limit() to limit a function concurrency HOT 3
- suggestion: update "Releases" documentation
- tracking: improve doc checker tools HOT 1
- bug: `Spinner constructor accepts interval` test is flaky
- @std/yaml parses yaml with anchor wrong HOT 1
- [feature request(net)] add range support for preferredPort option in getAvailablePort
- multiple entrypoint doesn't make sense for `regexp`, and `jsonc` HOT 1
- proposal: drop `archive`, `datetime`, `log`, and `webgpu` from the first stabilization targets HOT 4
- ini file parsing considers all values as strings
- ini file value type should constrain to possible allowed ini values HOT 1
- ini file value parsed with quotes contains quotes in value
- ini file string value containing value that parses as non-string stringifies without quotes
- bug: `DeadlineError` calls `super("Deadline")` in constructor
- to-do: remove use of `protected`, `private` and `public` from `@std/data-structures`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_std.