Skip to content

Instantly share code, notes, and snippets.

@satriahrh
Created August 20, 2021 10:49
Show Gist options
  • Save satriahrh/823224f2fdc645176d2dcc3e29826dee to your computer and use it in GitHub Desktop.
Save satriahrh/823224f2fdc645176d2dcc3e29826dee to your computer and use it in GitHub Desktop.
{
"severity": "INFO",
"eventTime": "2021-08-20T17:41:51.763+0700",
"caller": "services/sync.go:141",
"message": "Debug agent",
"serviceContext": { "service": "grosir-pintar", "version": "1.0.0" },
"trace_id": "5c50cf049a384f1d",
"operation": "services_Agent_SyncAgentDataWithJDS_UpdateAgent",
"agent_id": 343,
"agent": {
"id": 343,
"name": "Vira Baru",
"warungCode": "WP31317112595",
"msisdn": "62873465365465",
"address": "Jl Bahagia",
"storeName": "RezaToko",
"latitude": 0,
"longitude": 0,
"delivery_range": 5000,
"joinDate": "2021-07-13T00:00:00Z",
"isActive": true,
"inactive_date": { "String": "", "Valid": false },
"inactiveReason": { "String": "", "Valid": false },
"referral_code": { "String": "ULWI1", "Valid": true },
"referral_start_date": { "String": "2021-07-13T10:18:28Z", "Valid": true },
"bank_id": { "Int32": 137, "Valid": true },
"bank_account_number": { "String": "5465465465", "Valid": true },
"commission": {
"Commission_Parent1_Cig": "0.1",
"Commission_Parent2_FMCG": "2",
"Commission_Parent3_Sembako": "1"
},
"is_force_log_out": { "Int32": 0, "Valid": false },
"createdAt": "2021-07-13T10:18:28Z",
"updatedAt": "2021-07-13T10:18:28Z"
},
"newAgent": {
"id": 343,
"name": "reza testingaa",
"warungCode": "WP31317112595",
"msisdn": "6285558126759",
"address": "Tegal Rt 03 RW 01, Kota Jakarta Selatan, DKI Jakarta, 12310",
"storeName": "RezaToko",
"latitude": -6.281824,
"longitude": 106.78997,
"delivery_range": 5000,
"joinDate": "2021-07-13 00:00:00",
"isActive": true,
"inactive_date": { "String": "", "Valid": false },
"inactiveReason": { "String": "", "Valid": false },
"referral_code": { "String": "ULWI1", "Valid": true },
"referral_start_date": { "String": "2021-07-13 10:18:28", "Valid": true },
"bank_id": { "Int32": 137, "Valid": true },
"bank_account_number": { "String": "5465465465", "Valid": true },
"commission": {
"Commission_Parent1_Cig": "0.1",
"Commission_Parent2_FMCG": "2",
"Commission_Parent3_Sembako": "1"
},
"is_force_log_out": { "Int32": 0, "Valid": false },
"createdAt": "2021-07-13T10:18:28Z",
"updatedAt": "2021-07-13T10:18:28Z"
},
"context": {
"reportLocation": {
"filePath": "main.go",
"lineNumber": 25,
"functionName": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment