logger edit
parent
b733132327
commit
72df9c777c
|
|
@ -38,18 +38,18 @@ import 'package:logger/logger.dart';
|
|||
// }
|
||||
// }
|
||||
|
||||
//Logger getLogger(String className) {
|
||||
// Logger getLogger(String className) {
|
||||
// //return Logger(printer: SimpleLogPrinter(className));
|
||||
// return Logger(
|
||||
// printer: PrettyPrinter(
|
||||
// methodCount: 1, // number of method calls to be displayed
|
||||
// errorMethodCount: 1, // number of method calls if stacktrace is provided
|
||||
// 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
|
||||
// printTime: false // Should each log print contain a timestamp
|
||||
// ));
|
||||
//}
|
||||
// }
|
||||
|
||||
|
||||
Logger getLogger(String className) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ class DbService extends BaseService {
|
|||
_initDatabase() async {
|
||||
Directory documentsDirectory = await getApplicationDocumentsDirectory();
|
||||
String path = join(documentsDirectory.path, _databaseName);
|
||||
print(path);
|
||||
return await openDatabase(path,
|
||||
version: _databaseVersion,
|
||||
onUpgrade: _onUpdate,
|
||||
|
|
|
|||
Loading…
Reference in New Issue