Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ported LoggingConfig from Python to Julia #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JawadAhmadCS
Copy link
Contributor

@JawadAhmadCS JawadAhmadCS commented Mar 11, 2025

This PR ports the LoggingConfig module from Python (Stingray) to Julia.
It provides a custom logging system with color-coded log levels.

Changes

  • Added src/loggingconfig.jl for log handling.
  • Updated src/stingray.jl to include LoggingConfig.
  • Added test/test_logging.jl for testing logs.
  • Modified test/runtests.jl to include logging tests.

Testing

  • Logs are displayed with colors for different levels (Info, Warn, Error).
    image
    image

This contribution is part of my efforts for Google Summer of Code (GSoC) 2025 to work on Spectral Timing in Julia. Contributing to Stingray.jl helps me gain codebase familiarity and deepen my understanding for meaningful GSoC contributions.

@JawadAhmadCS
Copy link
Contributor Author

JawadAhmadCS commented Mar 12, 2025

@matteobachetti your review required! Please check

@matteobachetti
Copy link
Member

@JawadAhmadCS the porting of these accessory libraries (logging, configuration, etc) is very low-priority, especially because the Python and Julia implementations are likely to require completely different mechanisms for each of them.

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

Successfully merging this pull request may close these issues.

2 participants