OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium 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 <iostream> | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 int main(int argc, char* argv[]) { | |
10 std::cout << "Hello, world!" << std::endl; | |
11 | |
12 // Use of LOG is more common than raw std::cout. | |
13 LOG(INFO) << "Hello, logging!"; | |
14 } | |
OLD | NEW |