logger edit

4.4
Serik.Uvaissov 2020-07-02 15:28:30 +06:00
parent b733132327
commit 72df9c777c
2 changed files with 3 additions and 4 deletions

View File

@ -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) {

View File

@ -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,