Skip to content

Conversation

@DefinetlyNotAI
Copy link
Owner

Pull Request Template

Prerequisites

  • I have searched for duplicate or closed issues.
  • I have read the contributing guidelines.
  • I have followed the instructions in the wiki about contributions.
  • I have updated the documentation accordingly, if required.
  • I have tested my code with the --dev flag, if required.

PR Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation
    update
  • ⚠️ Breaking change ⚠️

Description

Added a new log.function decorator, this allows to debug time run by a function as well as debug the function name for development purposes, also fixed minor bugs and removed redundant feature

Motivation and Context

Solves plans and fixes minor bugs

Credit

N/A

Issues Fixed

N/A

It fails due to issues with windows using those processes - Removed the feature
Now you can add a decorator to log in debug that your function is being run, fixed minor bugs as well
Also made sure the decorator doesn't fail if function is non-callable
Its redundant and useless
Its redundant and useless
@DefinetlyNotAI DefinetlyNotAI self-assigned this Nov 21, 2024
@pull-request-size pull-request-size bot added the size/L Large size pr label Nov 21, 2024
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit a0312df and detected 0 issues on this pull request.

View more on Code Climate.

@DefinetlyNotAI DefinetlyNotAI added bug/Low Something isn't working, it's simple though. request/Normal New feature or request for the next mini update type/Code Related to the Code part type/Development Related to Development issues labels Nov 21, 2024
@DefinetlyNotAI DefinetlyNotAI merged commit 8994622 into main Nov 21, 2024
9 checks passed
@DefinetlyNotAI DefinetlyNotAI deleted the decorater_update_log branch November 21, 2024 05:04
DefinetlyNotAI added a commit that referenced this pull request Sep 18, 2025
## Pull Request Template

### Prerequisites

<!-- Take a couple of minutes to help our maintainers work faster by
checking of the pre-requisites. -->
<!-- To tick the checkboxes replace the space with an 'x', so [ ]
becomes [x] . -->

- [x] I have
[searched](https://github.com/DefinetlyNotAI/Logicytics/pulls) for
duplicate or closed issues.
- [x] I have read the [contributing
guidelines](https://github.com/DefinetlyNotAI/Logicytics/blob/main/CONTRIBUTING.md).
- [x] I have followed the instructions in the
[wiki](https://github.com/DefinetlyNotAI/Logicytics/wiki) about
contributions.
- [x] I have updated the documentation accordingly, if required.
- [x] I have tested my code with the `--dev` flag, if required.

### PR Type

<!-- Take a couple of minutes to help our maintainers work faster by
telling us what is the PR guided on. -->
<!-- To tick the checkboxes replace the space with an 'x', so [ ]
becomes [x] . -->

- [x] Bug fix <!-- Non-Breaking Bug Fix - Usually relates to fixing an
issue -->
- [x] New feature <!-- Non-Breaking Change that adds a new feature -->
- [ ] Refactoring <!-- Non-Breaking Change that modifies existing code
to refactor it to become more organised -->
- [ ] Documentation
update <!-- Non-Breaking Change that modifies existing documentation to
refactor it or add extra comments - either wiki, md files or code is
included here -->
- [ ] ⚠️ Breaking change ⚠️ <!-- Breaking Bug Fix / New Addition that
changes how Logicytics works -->

### Description

<!-- REQUIRED: Provide a summary of the PR and what you expected to
happen. -->
Added a new `log.function` decorator, this allows to debug time run by a
function as well as debug the function name for development purposes,
also fixed minor bugs and removed redundant feature

### Motivation and Context

<!-- REQUIRED: Why is this PR required? What problem does it solve? Why
do you want to do it? -->
Solves plans and fixes minor bugs

### Credit

<!-- If this PR is a contribution, please mention the contributors here
using the appropriate syntax. -->

<!--
### File-Created/CONTRIBUTION by MAIN-Username
What you did, created, removed, refactored, fixed, or discovered.
- [Your GitHub Username](https://github.com/YourGitHubLink)
- [Your GitHub Username](https://github.com/YourGitHubLink) etc...
-->
_N/A_

### Issues Fixed

<!-- REQUIRED: What issues will be fixed? (Format: "#50, #23" etc.) if
none exist type _N/A_ -->
_N/A_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug/Low Something isn't working, it's simple though. request/Normal New feature or request for the next mini update size/L Large size pr type/Code Related to the Code part type/Development Related to Development issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants