logger edit
parent
b733132327
commit
72df9c777c
|
|
@ -45,7 +45,7 @@ import 'package:logger/logger.dart';
|
||||||
// methodCount: 1, // number of method calls to be displayed
|
// methodCount: 1, // number of method calls to be displayed
|
||||||
// errorMethodCount: 1, // number of method calls if stacktrace is provided
|
// errorMethodCount: 1, // number of method calls if stacktrace is provided
|
||||||
// lineLength: 120, // width of the output
|
// lineLength: 120, // width of the output
|
||||||
// colors: false, // Colorful log messages
|
// colors: true, // Colorful log messages
|
||||||
// printEmojis: false, // Print an emoji for each log message
|
// printEmojis: false, // Print an emoji for each log message
|
||||||
// printTime: false // Should each log print contain a timestamp
|
// printTime: false // Should each log print contain a timestamp
|
||||||
// ));
|
// ));
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ class DbService extends BaseService {
|
||||||
_initDatabase() async {
|
_initDatabase() async {
|
||||||
Directory documentsDirectory = await getApplicationDocumentsDirectory();
|
Directory documentsDirectory = await getApplicationDocumentsDirectory();
|
||||||
String path = join(documentsDirectory.path, _databaseName);
|
String path = join(documentsDirectory.path, _databaseName);
|
||||||
print(path);
|
|
||||||
return await openDatabase(path,
|
return await openDatabase(path,
|
||||||
version: _databaseVersion,
|
version: _databaseVersion,
|
||||||
onUpgrade: _onUpdate,
|
onUpgrade: _onUpdate,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue