parent
e7b057ef98
commit
f7ea7f4f9a
|
@ -2903,6 +2903,9 @@
|
|||
"loggingLogSize": {
|
||||
"message": "Log Size:"
|
||||
},
|
||||
"loggingLogName": {
|
||||
"message": "Log Name:"
|
||||
},
|
||||
"loggingButtonLogFile": {
|
||||
"message": "Select Log File"
|
||||
},
|
||||
|
|
|
@ -308,6 +308,11 @@ logging.initialize = function (callback) {
|
|||
|
||||
// update log size in UI on fileWriter creation
|
||||
$('.size').text(bytesToSize(fileWriter.length));
|
||||
// update log name in UI
|
||||
chrome.fileSystem.getDisplayPath(fileEntry, function (path) {
|
||||
$('.name').text(path);
|
||||
});
|
||||
|
||||
}, function (e) {
|
||||
// File is not readable or does not exist!
|
||||
console.error(e);
|
||||
|
|
|
@ -62,6 +62,8 @@
|
|||
<dd class="samples">0</dd>
|
||||
<dt i18n="loggingLogSize"></dt>
|
||||
<dd class="size">0 Bytes</dd>
|
||||
<dt i18n="loggingLogName"></dt>
|
||||
<dd class="name"></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue