Comments (5)
@joshLong145 - I can look at this if you want to assign to me
from js-sdk.
@cipherzzz sure! is now assigned to you. :)
from js-sdk.
Thanks @joshLong145 - I will get on it!
from js-sdk.
Hey! just for clarification, Are you saying that you want the following methods to have versions of each level of logging as a convenience mechanism within packages/misc
?
Current Methods
log
logError
logWithRequestId
logErrorWithRequestId
Log Levels
- Debug
- Info
- Trace
- Warn
- Error?
New Methods
Debug
logDebug
logDebugWithRequestId
console.log()
Info
logWarn
logWarnWithRequestId
console.info()
Trace
logTrace
logTraceWithRequestId
console.trace()
Warn
logWarn
logWarnWithRequestId
console.warn()
Error
logError
logErrorWithRequestId
console.error()
from js-sdk.
@cipherzzz
You are correct in your understanding. However we have our own logging package which we should use over console
I updated the description of the issue to link to our logging package and where the misc
package wraps some of the implementations.
This task does not extend to using the new logging utilities. but if you want to try out writing a configuration interface for the logging to replace the debug
flag in our LitNodeClient
from js-sdk.
Related Issues (20)
- I sighted a typographical error in the "What is Lit" section of the documentation. HOT 2
- process not defined in node_modules/util/util.js HOT 1
- ipfs-http-client is deprecated HOT 3
- Error with humanizeAccessControlConditions() when using ERC20 tokens HOT 1
- The signature problem on Integrating with Ceramic HOT 1
- EIP-1271 Authsig failed 401 but the contract return 0x1626ba7e HOT 1
- Request for SPA-Friendly OAuth Redirection Mechanism in lit-auth-client HOT 5
- there is a guide to contribute? HOT 1
- Breaks at decrypt - parsing SIWE message HOT 3
- Add new `e2e` tests for lit action api HOT 2
- Yarn Upgrade Needed HOT 4
- Errors with the React sample app HOT 5
- Cayenne is evaluating Sepolia access conditions based on data from the Ethereum mainnet. HOT 1
- Wrong version of `multiformats` package breaking `@lit-protocol/contracts-sdk` HOT 4
- Module not found error in browser
- Cannot find module './fetch.node' HOT 8
- File uses global instead of globalThis HOT 2
- No known conditions for "./cid" specifier in "multiformats" package HOT 3
- Getting Timeout error from Lit Node Client while generating sessions HOT 9
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 js-sdk.