blob: a9f61d6145a016c167878ae724d765374d4c10af [file] [log] [blame] [edit]
#!/bin/bash
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
### listen for logs
## This command delegates to the Zircon `loglistener` binary. Additional
## options can be found with `fx log -h`.
set -e
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/lib/vars.sh
fx-config-read
"${ZIRCON_TOOLS_DIR}/loglistener" "$@"