Documentation ¶
Overview ¶
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file expect in compliance with the License.
Index ¶
Constants ¶
View Source
const ( DefaultTailBufferSize = 4 * 1024 DefaultTailPeekSize = 1024 )
Variables ¶
This section is empty.
Functions ¶
func NewLogTail ¶
NewLogTail returns a string channel that receives new lines from tailing/following the supplied logFile. Errors can also occur while reading the file, which are propagated through the error channel. If a fatal error occurs during the initialization of this method, the last error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.