eliza icon indicating copy to clipboard operation
eliza copied to clipboard

Improve Logging in /packages/plugin-coinbase/src/plugins

Open monilpat opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

The current logging mechanism in the /packages/plugin-coinbase/src/plugins directory lacks consistency and detail, making it challenging to debug and monitor the plugin's behavior effectively.

Describe the solution you'd like

Integrate the elizaLogger construct to standardize logging across the plugin. This should include:

  • Consistent log levels (INFO, DEBUG, ERROR) for different operations.
  • Detailed log messages that include context such as function names and parameters.
  • Examples of how to implement elizaLogger in existing functions for better clarity.

Describe alternatives you've considered

  • Continuing with the current ad-hoc logging approach.
  • Using a third-party logging library, though this may introduce unnecessary dependencies.

Additional context

Please refer to existing examples in the /packages/plugin-coinbase/src/plugins directory and extend them where possible. Ensure that the new logging strategy aligns with the overall architecture of the eliza project.

monilpat avatar Dec 18 '24 04:12 monilpat

@monilpat may I take this one?

9547 avatar Dec 18 '24 08:12 9547

this issue is covered by #1429

gnujoow avatar Jan 02 '25 08:01 gnujoow