mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-03-29 22:43:28 +08:00
log all INFO messages from the app, and all ERROR messages from everything else
This commit is contained in:
@@ -248,7 +248,14 @@ module Motion; module Project;
|
||||
end
|
||||
|
||||
def logs_components
|
||||
@logs_components ||= [package_path, 'AndroidRuntime', 'chromium', 'dalvikvm', 'Bundle'].map { |component| component + ':I' }
|
||||
@logs_components ||= begin
|
||||
ary = []
|
||||
ary << package_path + ':I'
|
||||
%w{AndroidRuntime chromium dalvikvm Bundle art}.each do |comp|
|
||||
ary << comp + ':E'
|
||||
end
|
||||
ary
|
||||
end
|
||||
end
|
||||
|
||||
attr_reader :manifest_entries
|
||||
|
||||
Reference in New Issue
Block a user