LegendarySpork9 / Hunter-Industries-API

File Store for the Assistant API
Other
0 stars 0 forks source link

Logs #9

Closed LegendarySpork9 closed 2 months ago

LegendarySpork9 commented 5 months ago

Add logging to the API through a log appender.

LegendarySpork9 commented 3 months ago

Update the outputted errors from the controllers and make sure they match that of the TokenController.

LegendarySpork9 commented 3 months ago

Move values to a converter. Static class with constant strings that return the value for the switch. Logger needs to be passed to converters and services where required. Need to refine the logging.

LegendarySpork9 commented 2 months ago

Log errors as errors, if something is not a major error IE, application/operation breaking then log as a warning. Within the controllers, log the initial call with the given parameters (Info and then Debug), log the output. Always log parameters in a Debug format for the call/error.

LegendarySpork9 commented 2 months ago

All code added, tested and merged.