-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
liblog: replace "frontend" with "transport"
We still do not have any users of the 'frontend' interface, let's right a wrong and rename it to 'transport' as it makes more sense. Renames android_log_set_frontend, android_log_get_frontend and include/log/log_frontend.h. SideEffects: None Test: gTest liblog-unit-tests Bug: 27405083 Change-Id: I7c1c0f3dfdc7cf047285403e306edbd16ad1324d
- Loading branch information
Mark Salyzyn
committed
Mar 9, 2017
1 parent
04bbc8e
commit 81321a7
Showing
13 changed files
with
65 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#ifdef __ANDROID__ | ||
#include <log/log_frontend.h> | ||
#define TEST_PREFIX android_set_log_frontend(LOGGER_DEFAULT); | ||
#include <log/log_transport.h> | ||
#define TEST_PREFIX android_set_log_transport(LOGGER_DEFAULT); | ||
#endif | ||
#include "liblog_test.cpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include <log/log_frontend.h> | ||
#include <log/log_transport.h> | ||
#define liblog liblog_local | ||
#define TEST_PREFIX android_set_log_frontend(LOGGER_LOCAL); | ||
#define TEST_PREFIX android_set_log_transport(LOGGER_LOCAL); | ||
#include "liblog_test.cpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include <log/log_frontend.h> | ||
#include <log/log_transport.h> | ||
#define liblog liblog_stderr | ||
#define TEST_PREFIX android_set_log_frontend(LOGGER_STDERR); | ||
#define TEST_PREFIX android_set_log_transport(LOGGER_STDERR); | ||
#define USING_LOGGER_STDERR | ||
#include "liblog_test.cpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include <log/log_frontend.h> | ||
#include <log/log_transport.h> | ||
#define liblog liblog_stderr_local | ||
#define TEST_PREFIX android_set_log_frontend(LOGGER_LOCAL | LOGGER_STDERR); | ||
#define TEST_PREFIX android_set_log_transport(LOGGER_LOCAL | LOGGER_STDERR); | ||
#include "liblog_test.cpp" |