Skip to content

Improve CLI Output and Logging #9

@EficodeRjpalt

Description

@EficodeRjpalt

This issue tracks the following improvements to the CLI output and logging:

  • Add an ASCII art representation of a shining sun to the CLI output when displaying weather information.
  • Remove INFO level log statements from WeatherApp.java and WeatherService.java to reduce log verbosity.

Example of new output:

    \\   /
     .-.
-- (   ) --
     `-'
    /   \\

Current Weather for [CityName]:
-------------------------------------
Weather for [CityName]:
Temperature: [Temp]C
Conditions: [Conditions]

Removed Logs:

  • LOGGER.log(Level.INFO, "Weather request for city: {0}", city); in WeatherApp.java
  • LOGGER.log(Level.INFO, "Getting weather data for city: {0}", city); in WeatherService.java
  • LOGGER.log(Level.INFO, "Successfully retrieved weather data. Temperature: {0}°C", weatherData.getTemperatureCelsius()); in WeatherService.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions