Skip to content

Commit

Permalink
Merge pull request #32 from Dash-Kit/release/4.5.0
Browse files Browse the repository at this point in the history
Release 4.5.0
  • Loading branch information
w3ggy authored Sep 19, 2024
2 parents c78115d + 2ffc656 commit 5f8d56a
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: flutter-actions/setup-flutter@v2
with:
channel: stable
version: 3.22.2
version: 3.24.3

- name: Install dependencies
run: flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: flutter-actions/setup-flutter@v2
with:
channel: stable
version: 3.22.2
version: 3.24.3

- name: Analyze
run: flutter analyze
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [4.5.0]
- Bump dependencies

## [4.4.0]
- Bump dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:collection';
import 'package:flutter/material.dart';
import 'package:logger/logger.dart' as logger_dependency;

class ConsoleOutput extends logger_dependency.LogOutput {
class CustomOutput extends logger_dependency.LogOutput {
final ListQueue<logger_dependency.OutputEvent> outputEventBuffer =
ListQueue();
Function(logger_dependency.OutputEvent event)? outputCallback;
Expand Down
9 changes: 5 additions & 4 deletions lib/src/services/logger/logger.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import 'package:dash_kit_control_panel/src/services/logger/console_output.dart';
import 'package:dash_kit_control_panel/src/services/logger/custom_output.dart';
import 'package:logger/logger.dart' as logger_dependency;
import 'package:logger/logger.dart';

final consoleOutput = ConsoleOutput();
final consoleOutput = CustomOutput();

class Logger {
Logger._(
Expand All @@ -13,7 +14,7 @@ class Logger {
int methodCount = 2,
int bufferSize = 20,
int lineLength = 120,
bool printTime = true,
DateTimeFormatter dateTimeFormat = DateTimeFormat.onlyTimeAndSinceStart,
bool colors = false,
bool printEmojis = true,
Map<logger_dependency.Level, bool> excludeBox = const {},
Expand All @@ -30,7 +31,7 @@ class Logger {
output: consoleOutput,
printer: logger_dependency.PrettyPrinter(
methodCount: methodCount,
printTime: printTime,
dateTimeFormat: dateTimeFormat,
colors: colors,
printEmojis: printEmojis,
lineLength: lineLength,
Expand Down
Loading

0 comments on commit 5f8d56a

Please sign in to comment.