• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package ohos.devtools.views.hilog;
17 
18 /**
19  * HiLog Bean
20  *
21  * @since 2021/08/07 13:41
22  */
23 public class HiLogBean {
24     private String date;
25     private String time;
26     private String pid;
27     private String tid;
28     private String logType;
29     private String message;
30     private String deviceName;
31 
getDate()32     public String getDate() {
33         return date;
34     }
35 
setDate(String date)36     public void setDate(String date) {
37         this.date = date;
38     }
39 
getTime()40     public String getTime() {
41         return time;
42     }
43 
setTime(String time)44     public void setTime(String time) {
45         this.time = time;
46     }
47 
getPid()48     public String getPid() {
49         return pid;
50     }
51 
setPid(String pid)52     public void setPid(String pid) {
53         this.pid = pid;
54     }
55 
getTid()56     public String getTid() {
57         return tid;
58     }
59 
setTid(String tid)60     public void setTid(String tid) {
61         this.tid = tid;
62     }
63 
getLogType()64     public String getLogType() {
65         return logType;
66     }
67 
setLogType(String logType)68     public void setLogType(String logType) {
69         this.logType = logType;
70     }
71 
getMessage()72     public String getMessage() {
73         return message;
74     }
75 
setMessage(String message)76     public void setMessage(String message) {
77         this.message = message;
78     }
79 
getDeviceName()80     public String getDeviceName() {
81         return deviceName;
82     }
83 
setDeviceName(String deviceName)84     public void setDeviceName(String deviceName) {
85         this.deviceName = deviceName;
86     }
87 
88     @Override
toString()89     public String toString() {
90         return "HiLogBean{" + "date='" + date + '\'' + ", time='" + time + '\'' + ", pid='" + pid + '\'' + ", tid='"
91             + tid + '\'' + ", logType='" + logType + '\'' + ", message='" + message + '\'' + ", deviceName='"
92             + deviceName + '\'' + '}';
93     }
94 }
95