| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/public/cpp/environment/lib/default_logger.h" | 5 #include "mojo/public/cpp/environment/lib/default_logger.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 7 #include <stdio.h> | 8 #include <stdio.h> |
| 8 #include <stdlib.h> // For |abort()|. | 9 #include <stdlib.h> // For |abort()|. |
| 9 | 10 |
| 10 #include <algorithm> | 11 #include <algorithm> |
| 11 | 12 |
| 12 #include "mojo/public/c/environment/logger.h" | 13 #include "mojo/public/c/environment/logger.h" |
| 13 | 14 |
| 14 namespace mojo { | 15 namespace mojo { |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 69 |
| 69 namespace internal { | 70 namespace internal { |
| 70 | 71 |
| 71 const MojoLogger kDefaultLogger = {LogMessage, | 72 const MojoLogger kDefaultLogger = {LogMessage, |
| 72 GetMinimumLogLevel, | 73 GetMinimumLogLevel, |
| 73 SetMinimumLogLevel}; | 74 SetMinimumLogLevel}; |
| 74 | 75 |
| 75 } // namespace internal | 76 } // namespace internal |
| 76 | 77 |
| 77 } // namespace mojo | 78 } // namespace mojo |
| OLD | NEW |