Skip to content

Commit

Permalink
Dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
javad-zobeidi committed Mar 31, 2024
1 parent f271432 commit 122115e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/logger/logger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Logger {
static const INFO = 'INFO';
static const DEBUG = 'DEBUG';

static log(String content, {String type = INFO,String fileName = 'vania'}){
static log(String content, {String type = INFO, String fileName = 'vania'}) {
final now = DateTime.now();

final directory = Directory(storagePath('framework/logs'));
Expand Down
2 changes: 1 addition & 1 deletion lib/src/server/base_http_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class BaseHttpServer {
await db.driver?.init(Config().get('database'));
}
} on InvalidArgumentException catch (e) {
Logger.log(e.toString(), type: Logger.ERROR);
Logger.log(e.toString(), type: Logger.ERROR);
rethrow;
}
}
Expand Down

0 comments on commit 122115e

Please sign in to comment.