storj / crypto-batch-payment

A high volume ERC20 token payment application.
GNU Affero General Public License v3.0
5 stars 0 forks source link

Use logger with rich context with payer #15

Closed azdagron closed 5 months ago

azdagron commented 5 months ago

Threads the logger in from the pipeline for payer operations instead of a logger stashed at initialization time. In general, the pipeline logger has some additional logging fields attached that provide better context for the operation taking place.

Also changed IsPreconditionMet to CheckPreconditions, which returns the unmet preconditions for logging.