-
Notifications
You must be signed in to change notification settings - Fork 276
[NUI] Add diagnostic logs for application initialization delay #7766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: API13
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,6 +189,7 @@ public void Run(string[] args) | |
| Tizen.Tracer.End(); | ||
|
|
||
| Tizen.Tracer.Begin("[NUI] NUICorebackend Run(): args of main set, window type set"); | ||
| Tizen.Log.Info("NUI", "NUICoreBackend.Run(): begin to set main arguments"); | ||
| if (Tizen.Applications.Application.Current?.ApplicationInfo != null) | ||
| { | ||
| args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath; | ||
|
|
@@ -198,6 +199,7 @@ public void Run(string[] args) | |
| args[0] = this.GetType().Assembly.FullName.Replace(" ", ""); | ||
| } | ||
|
|
||
| Tizen.Log.Info("NUI", "NUICoreBackend.Run(): main arguments set, begin to create application"); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The log message explicitly includes the class and method name ( Log.Info("NUI", "main arguments set, begin to create application"); |
||
| if (windowData != null) | ||
| { | ||
| bool enableUIThread = coreTask != null; | ||
|
|
@@ -236,6 +238,7 @@ public void Run(string[] args) | |
| } | ||
| } | ||
| } | ||
| Tizen.Log.Info("NUI", "NUICoreBackend.Run(): application created"); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The log message explicitly includes the class and method name ( Log.Info("NUI", "application created"); |
||
| Tizen.Tracer.End(); | ||
|
|
||
| Tizen.Tracer.Begin("[NUI] NUICorebackend Run(): add application related events"); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The log message explicitly includes the class and method name (
NUICoreBackend.Run():). However,Tizen.Log.Infoautomatically captures and prints the caller's file name, member name, and line number using[CallerFilePath]and[CallerMemberName]attributes. Including this prefix manually is redundant and leads to duplicated information in the log output.\n\nAdditionally, for consistency with the rest of this file, you should useLog.Infodirectly instead of the fully qualifiedTizen.Log.Info.