Skip to content

feat: Add logging level to python bindings#125

Merged
jopemachine merged 10 commits intolablup:mainfrom
why-arong:feat/slogger
Sep 23, 2024
Merged

feat: Add logging level to python bindings#125
jopemachine merged 10 commits intolablup:mainfrom
why-arong:feat/slogger

Conversation

@why-arong
Copy link
Contributor

Changes

  1. Added a new PyLevel enum to represent different logging levels (TRACE, DEBUG, INFO, WARNING, ERROR, CRITICAL). This allows users to specify the logging severity level when creating a new file logger.
  2. Updated the Slogger.new_file_logger method to accept a level argument, enabling users to dynamically set the logging level from Python.
  3. Registered the PyLevel class in the Python bindings, making it available for use within Python code.

@why-arong why-arong changed the title Add Logging Level to python bindings" Add Logging Level to python bindings Sep 21, 2024
@why-arong why-arong changed the title Add Logging Level to python bindings feat: add logging level to python bindings Sep 21, 2024
@jopemachine jopemachine changed the title feat: add logging level to python bindings feat: Add logging level to python bindings Sep 21, 2024
@jopemachine jopemachine added feature New feature or request python Python binding labels Sep 21, 2024
@jopemachine
Copy link
Member

Thanks!

@jopemachine jopemachine merged commit ef0e9fe into lablup:main Sep 23, 2024
@jopemachine jopemachine added the ossca-24 OSS Contribution Academy mentee's contributions. label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request ossca-24 OSS Contribution Academy mentee's contributions. python Python binding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants