diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-27 22:52:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-27 22:52:19 +0300 |
| commit | 1ef4498dadd8cdf7b60f4f256697d9329c9e9deb (patch) | |
| tree | d70a1dd5bfff99a4add4aaa47bc584b3c2305131 /backend/handlers/logs.go | |
| parent | feat: detailed logging, db changes (#55) (diff) | |
| download | lphub-1ef4498dadd8cdf7b60f4f256697d9329c9e9deb.tar.gz lphub-1ef4498dadd8cdf7b60f4f256697d9329c9e9deb.tar.bz2 lphub-1ef4498dadd8cdf7b60f4f256697d9329c9e9deb.zip | |
feat: revise logging in other handlers (#55)
Former-commit-id: ef5d934328d4389405cd51c08c2738093353a5cd
Diffstat (limited to 'backend/handlers/logs.go')
| -rw-r--r-- | backend/handlers/logs.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/backend/handlers/logs.go b/backend/handlers/logs.go index d0561bd..0a0b6be 100644 --- a/backend/handlers/logs.go +++ b/backend/handlers/logs.go | |||
| @@ -33,14 +33,16 @@ const ( | |||
| 33 | LogDescriptionMapSummaryDeleteSuccess string = "MapSummaryDeleteSuccess" | 33 | LogDescriptionMapSummaryDeleteSuccess string = "MapSummaryDeleteSuccess" |
| 34 | LogDescriptionMapSummaryDeleteFail string = "MapSummaryDeleteFail" | 34 | LogDescriptionMapSummaryDeleteFail string = "MapSummaryDeleteFail" |
| 35 | 35 | ||
| 36 | LogDescriptionRecordSuccess string = "Success" | 36 | LogDescriptionCreateRecordSuccess string = "CreateRecordSuccess" |
| 37 | LogDescriptionRecordFailInsertRecord string = "InsertRecordFail" | 37 | LogDescriptionCreateRecordInsertRecordFail string = "InsertRecordFail" |
| 38 | LogDescriptionRecordFailInsertDemo string = "InsertDemoFail" | 38 | LogDescriptionCreateRecordInsertDemoFail string = "InsertDemoFail" |
| 39 | LogDescriptionRecordFailProcessDemo string = "ProcessDemoFail" | 39 | LogDescriptionCreateRecordProcessDemoFail string = "ProcessDemoFail" |
| 40 | LogDescriptionRecordFailCreateDemo string = "CreateDemoFail" | 40 | LogDescriptionCreateRecordCreateDemoFail string = "CreateDemoFail" |
| 41 | LogDescriptionRecordFailOpenDemo string = "OpenDemoFail" | 41 | LogDescriptionCreateRecordOpenDemoFail string = "OpenDemoFail" |
| 42 | LogDescriptionRecordFailSaveDemo string = "SaveDemoFail" | 42 | LogDescriptionCreateRecordSaveDemoFail string = "SaveDemoFail" |
| 43 | LogDescriptionRecordFailInvalidRequest string = "InvalidRequestFail" | 43 | LogDescriptionCreateRecordInvalidRequestFail string = "InvalidRequestFail" |
| 44 | LogDescriptionDeleteRecordSuccess string = "DeleteRecordSuccess" | ||
| 45 | LogDescriptionDeleteRecordFail string = "DeleteRecordFail" | ||
| 44 | ) | 46 | ) |
| 45 | 47 | ||
| 46 | type Log struct { | 48 | type Log struct { |