-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4871 from daneshk/master
Change the log output messages with update 08
- Loading branch information
Showing
3 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
$ bal run logging_with_context.bal | ||
time = 2021-05-25T10:34:25.460+05:30 level = INFO module = "" message = "info log" current_time = "2021-05-25T05:04:25.473981Z" | ||
time = 2021-05-25T10:34:25.487+05:30 level = INFO module = "" message = "info log" percentage = 38.4141353500368 | ||
time=2023-09-04T13:38:09.181+05:30 level=INFO module="" message="info log" current_time="2023-09-04T08:08:09.184211Z" | ||
time=2023-09-04T13:38:09.194+05:30 level=INFO module="" message="info log" percentage=15.125095844268799 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
$ bal run logging.bal | ||
time = 2021-05-25T11:29:58.290+05:30 level = DEBUG module = "" message = "debug log" | ||
time = 2021-05-25T11:29:58.305+05:30 level = ERROR module = "" message = "error log" | ||
time = 2021-05-25T11:29:58.306+05:30 level = INFO module = "" message = "info log" | ||
time = 2021-05-25T11:29:58.307+05:30 level = WARN module = "" message = "warn log" | ||
time = 2021-05-25T11:29:58.307+05:30 level = INFO module = "" message = "info log" name = "foo" id = 845315 successful = true | ||
time = 2021-05-25T11:29:58.317+05:30 level = ERROR module = "" message = "error log with cause" error = "something went wrong!" name = "foo" id = 845315 | ||
time=2023-09-04T13:35:12.309+05:30 level=ERROR module="" message="error log" | ||
time=2023-09-04T13:35:12.319+05:30 level=INFO module="" message="info log" | ||
time=2023-09-04T13:35:12.320+05:30 level=WARN module="" message="warn log" | ||
time=2023-09-04T13:35:12.321+05:30 level=INFO module="" message="info log" id=845315 name="foo" successful=true | ||
time=2023-09-04T13:35:12.323+05:30 level=ERROR module="" message="error log with cause" error={"causes":[],"message":"something went wrong!","detail":{},"stackTrace":[{"callableName":"main","moduleName":(),"fileName":"logging.bal","lineNumber":15}]} id=845315 name="foo" |