Skip to content
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

feat!: remove all logging #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BlaineHeffron
Copy link
Contributor

@BlaineHeffron BlaineHeffron commented Jul 26, 2024

What

Remove tracing and all logging from crate.

Why

This crate is a thin wrapper around an HTTP client. Thus the caller has the info either what is passed in or the results of the calls. So no benefit is gained from logging.

CLI should be responsible for logging, see stellar/stellar-cli#1447 (comment)

Known limitations

Breaking change since it removes all log statements.

src/lib.rs Outdated Show resolved Hide resolved
@willemneal willemneal force-pushed the feat/diagnostic_events_decode branch from 6a7538a to 0f9c342 Compare December 3, 2024 17:13
@willemneal willemneal changed the title Chore: transfer logging to CLI feat!: remove all logging Dec 3, 2024
This crate is a thin wrapper, which calls RPC. Thus logged data is available to the caller be it the error, result or data passed in.
@willemneal willemneal force-pushed the feat/diagnostic_events_decode branch from 0f9c342 to 91a625b Compare December 3, 2024 17:17
@willemneal willemneal self-assigned this Dec 3, 2024
@willemneal willemneal enabled auto-merge (squash) December 3, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

3 participants