Enable console.debug
Summary: Apparently what we're using for console.trace is not really the same as what Chrome does (we don't log a stacktrace). Add `console.debug` with the same functionality as `console.trace`, just so we don't crash between browser and local execution. Reviewed By: davidaurelio Differential Revision: D3235053 fb-gh-sync-id: 4bed17ac8aa4c8c100f15cf0aabbc25101c913c1 fbshipit-source-id: 4bed17ac8aa4c8c100f15cf0aabbc25101c913c1
This commit is contained in:
parent
e195bf9495
commit
c7eb47fd8c
|
@ -471,6 +471,7 @@ function setupConsole(global) {
|
|||
log: getNativeLogFunction(LOG_LEVELS.info),
|
||||
warn: getNativeLogFunction(LOG_LEVELS.warn),
|
||||
trace: getNativeLogFunction(LOG_LEVELS.trace),
|
||||
debug: getNativeLogFunction(LOG_LEVELS.trace),
|
||||
table: consoleTablePolyfill
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue