mirror of https://github.com/docker/docker-py.git
Merge pull request #2111 from bfirsh/document-defaults-of-logs
Document defaults of logs()
This commit is contained in:
commit
87352cd057
|
@ -765,16 +765,16 @@ class ContainerApiMixin(object):
|
|||
|
||||
Args:
|
||||
container (str): The container to get logs from
|
||||
stdout (bool): Get ``STDOUT``
|
||||
stderr (bool): Get ``STDERR``
|
||||
stream (bool): Stream the response
|
||||
timestamps (bool): Show timestamps
|
||||
stdout (bool): Get ``STDOUT``. Default ``True``
|
||||
stderr (bool): Get ``STDERR``. Default ``True``
|
||||
stream (bool): Stream the response. Default ``False``
|
||||
timestamps (bool): Show timestamps. Default ``False``
|
||||
tail (str or int): Output specified number of lines at the end of
|
||||
logs. Either an integer of number of lines or the string
|
||||
``all``. Default ``all``
|
||||
since (datetime or int): Show logs since a given datetime or
|
||||
integer epoch (in seconds)
|
||||
follow (bool): Follow log output
|
||||
follow (bool): Follow log output. Default ``False``
|
||||
until (datetime or int): Show logs that occurred before the given
|
||||
datetime or integer epoch (in seconds)
|
||||
|
||||
|
|
|
@ -253,16 +253,16 @@ class Container(Model):
|
|||
generator you can iterate over to retrieve log output as it happens.
|
||||
|
||||
Args:
|
||||
stdout (bool): Get ``STDOUT``
|
||||
stderr (bool): Get ``STDERR``
|
||||
stream (bool): Stream the response
|
||||
timestamps (bool): Show timestamps
|
||||
stdout (bool): Get ``STDOUT``. Default ``True``
|
||||
stderr (bool): Get ``STDERR``. Default ``True``
|
||||
stream (bool): Stream the response. Default ``False``
|
||||
timestamps (bool): Show timestamps. Default ``False``
|
||||
tail (str or int): Output specified number of lines at the end of
|
||||
logs. Either an integer of number of lines or the string
|
||||
``all``. Default ``all``
|
||||
since (datetime or int): Show logs since a given datetime or
|
||||
integer epoch (in seconds)
|
||||
follow (bool): Follow log output
|
||||
follow (bool): Follow log output. Default ``False``
|
||||
until (datetime or int): Show logs that occurred before the given
|
||||
datetime or integer epoch (in seconds)
|
||||
|
||||
|
|
Loading…
Reference in New Issue