Skip to content

Commit

Permalink
feat: modify LogType
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna922 committed Feb 5, 2024
1 parent 49c76a1 commit 4c1d1d1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/types/LogType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// LogType: 최종 Log 형태
export interface LogType {
userId: number;
hashedId: string;
timestamp: string;
event: {
platform: string;
Expand All @@ -12,18 +12,9 @@ export interface LogType {
};
}

// LoggerType: Log 내 event에 들어가는 값
export interface LoggerType {
serviceName: 'drawer' | 'home' | 'search';
name: string;
message?: string;
path?: string;
tags?: string[];
}

// LogPayloadParams: 사용처에서 넣어주는 값
export interface LogPayloadParams {
userId: number;
userId: string;
name: string | '';
serviceName?: 'drawer' | 'home' | 'search';
message?: string;
Expand Down

0 comments on commit 4c1d1d1

Please sign in to comment.