Andreea Costinas | 4483361 | 2020-01-14 13:21:50 +0100 | [diff] [blame] | 1 | // Copyright 2020 The Chromium OS Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include <base/logging.h> | ||||
6 | #include <brillo/syslog_logging.h> | ||||
7 | |||||
8 | int main(int /* argc */, char* /* argv */[]) { | ||||
9 | brillo::OpenLog("system_proxy", true /* log_pid */); | ||||
10 | brillo::InitLog(brillo::kLogToSyslog | brillo::kLogToStderrIfTty); | ||||
11 | |||||
12 | return 0; | ||||
13 | } |