GroupThreeFS / FullStack_GroupThree

The Final Sprint Project showcasing our knowledge of interacting node js with mongo db and postgres sql to create a search function similar to google.
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Search Logging Function #10

Closed JonnyNL closed 1 year ago

JonnyNL commented 1 year ago

We need a logging function that can exported to be used to log the users search queries.

Create a new branch called LOGGING_FUNC, merge main into LOGGING_FUNC and begin your work

This logging function is written in utils/log.js

Example: If I login as Jonny and search up "pong" the logging function will create a new file in the logs folder with todays date, in the log folder it will log that query like [2023-08-09:01:42pm] Jonny searched for "pong" [# of queries returned]

TylerN132 commented 1 year ago

Completed by Tyler Nolan