We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Copied from here.
my_logger = create_logger(name="processing") @log(logger=my_logger) def run_processing(input_dir: str, output_dir: str): # do some processing my_logger.info("Done!")
We should start a example collection to keep track of these tips and tricks!
The text was updated successfully, but these errors were encountered:
We decided this pattern (@log annotation with custom logger to be provided) is too over-engineered for our current use cases.
@log
logger
Sorry, something went wrong.
No branches or pull requests
Copied from here.
We should start a example collection to keep track of these tips and tricks!
The text was updated successfully, but these errors were encountered: