Feat: Change update database mecanism to use prisma + fetching each set data
This commit is contained in:
parent
ed8c0a1876
commit
46a038973a
6 changed files with 194 additions and 116 deletions
4
app/lib/logging.ts
Normal file
4
app/lib/logging.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
export function logging(message: string) {
|
||||
const date = new Date()
|
||||
console.log("[" + date.getFullYear() + "/" + (date.getMonth()+1).toString().padStart(2,'0') + "/" + date.getDate().toString().padStart(2,'0') + " - " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds() +"] " + message)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue