control log level
This commit is contained in:
1 parent
70ef78653e
commit
cf3da71ca5
12 files changed
+259
-180
No files matched your search
@@ -732,6 +732,8 @@ class ShareInternetResourceState {
|
||||
);
|
||||
}
|
||||
|
||||
enum LogLevel { debug, info, warn, error }
|
||||
|
||||
@ConfigurePigeon(
|
||||
PigeonOptions(
|
||||
dartOut: 'lib/src/pigeons/gecko.g.dart',
|
||||
@@ -746,7 +748,7 @@ class ShareInternetResourceState {
|
||||
)
|
||||
@HostApi()
|
||||
abstract class GeckoBrowserApi {
|
||||
void initialize();
|
||||
void initialize(LogLevel logLevel);
|
||||
bool showNativeFragment();
|
||||
void onTrimMemory(int level);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user