Skip to content

Commit

Permalink
docs: correctly reference logging.Logger type
Browse files Browse the repository at this point in the history
  • Loading branch information
larkee committed Mar 10, 2021
1 parent e7e7256 commit cd1b8c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion google/cloud/spanner_v1/database.py
Expand Up @@ -103,7 +103,7 @@ class Database(object):
passed, the database will construct an instance of
:class:`~google.cloud.spanner_v1.pool.BurstyPool`.
:type logger: `logging.Logger`
:type logger: :class:`logging.Logger`
:param logger: (Optional) a custom logger that is used if `log_commit_stats`
is `True` to log commit statistics. If not passed, a logger
will be created when needed that will log the commit statistics
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/spanner_v1/instance.py
Expand Up @@ -371,7 +371,7 @@ def database(self, database_id, ddl_statements=(), pool=None, logger=None):
:class:`~google.cloud.spanner_v1.pool.AbstractSessionPool`.
:param pool: (Optional) session pool to be used by database.
:type logger: `logging.Logger`
:type logger: :class:`logging.Logger`
:param logger: (Optional) a custom logger that is used if `log_commit_stats`
is `True` to log commit statistics. If not passed, a logger
will be created when needed that will log the commit statistics
Expand Down

0 comments on commit cd1b8c2

Please sign in to comment.