Skip to content

Commit

Permalink
feat(android): indent log correctly (#14030)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Barber <chris@cb1inc.com>
  • Loading branch information
m1ga and cb1kenobi authored May 13, 2024
1 parent 20735d4 commit a7b145d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ exports.init = function (logger, config, cli) {

// start of a new log message
if (device.appPidRegExp.test(line)) {
line = line.trim().replace(device.appPidRegExp, ':');
line = line.replace(/^ {1,2}/, '').replace(device.appPidRegExp, ':');
logLevel = line.charAt(0).toLowerCase();
if (tiapiRegExp.test(line)) {
line = line.replace(tiapiRegExp, '').trim();
line = line.replace(tiapiRegExp, '').replace(/^ {1,2}/, '');
} else {
line = line.replace(/^\w\/(\w+)\s*:/g, '$1:').grey;
}
Expand Down

0 comments on commit a7b145d

Please sign in to comment.