Work on Stripe log
This commit is contained in:
@@ -132,13 +132,15 @@ def common_route_params_min(
|
||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||
response: Response = Response,
|
||||
log_lvl: int = logging.WARNING, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log_lvl: int = logging.DEBUG, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
) -> Common_Route_Params:
|
||||
log.setLevel(log_lvl)
|
||||
log.debug(locals())
|
||||
|
||||
log.info(f'Setting commons values: x_account_id, x_account_id_random, limit, offset, enabled, by_alias, exclude_unset, response')
|
||||
|
||||
log.debug(f'X Account ID: {x_account_id}')
|
||||
|
||||
if x_account_id:
|
||||
x_account_id_random = x_account_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user