Skip to content
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

Provide common way for logging #583

Open
fgdrf opened this issue Nov 1, 2021 · 0 comments
Open

Provide common way for logging #583

fgdrf opened this issue Nov 1, 2021 · 0 comments

Comments

@fgdrf
Copy link
Contributor

fgdrf commented Nov 1, 2021

Situation now:

  • lots of Bundle-Activators implement static functions for logging (log / trace)
  • implementations are quite equal except the bundle-id used
  • To fix things, e.g. remove Systouts for Replace sys.out by logger #582 end up changing many modules

Suggested solution:

  • Provide common logging-functionality within uDig (so that behavior is the same overall modules and extensions), e.g. in udig.core
  • mark all log/trace/debug functions in Activatore as deprecated and delegate calls to the new Implementation which method signitures has a bundle to log messages for

public static void log( Bundle bundle, String message, Throwable e );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant