mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-21 13:48:43 -04:00
new chat widget
This commit is contained in:
parent
063eeb8d12
commit
1a9cca0667
44 changed files with 1904 additions and 981 deletions
|
@ -6,14 +6,17 @@ import 'package:veilid_support/veilid_support.dart';
|
|||
import 'loggy.dart';
|
||||
|
||||
const Map<String, LogLevel> _blocChangeLogLevels = {
|
||||
'ConnectionStateCubit': LogLevel.off,
|
||||
'ActiveSingleContactChatBlocMapCubit': LogLevel.off,
|
||||
'ActiveConversationsBlocMapCubit': LogLevel.off,
|
||||
'PersistentQueueCubit<Message>': LogLevel.off,
|
||||
'TableDBArrayProtobufCubit<ReconciledMessage>': LogLevel.off,
|
||||
'DHTLogCubit<Message>': LogLevel.off,
|
||||
'SingleContactMessagesCubit': LogLevel.off,
|
||||
'ChatComponentCubit': LogLevel.off,
|
||||
'RouterCubit': LogLevel.debug,
|
||||
'PerAccountCollectionBlocMapCubit': LogLevel.debug,
|
||||
'PerAccountCollectionCubit': LogLevel.debug,
|
||||
'ActiveChatCubit': LogLevel.debug,
|
||||
'AccountRecordCubit': LogLevel.debug,
|
||||
'ContactListCubit': LogLevel.debug,
|
||||
'ContactInvitationListCubit': LogLevel.debug,
|
||||
'ChatListCubit': LogLevel.debug,
|
||||
'PreferencesCubit': LogLevel.debug,
|
||||
'ConversationCubit': LogLevel.debug,
|
||||
'DefaultDHTRecordCubit<Conversation>': LogLevel.debug,
|
||||
};
|
||||
|
||||
const Map<String, LogLevel> _blocCreateCloseLogLevels = {};
|
||||
|
@ -40,7 +43,7 @@ class StateLogger extends BlocObserver {
|
|||
@override
|
||||
void onChange(BlocBase<dynamic> bloc, Change<dynamic> change) {
|
||||
super.onChange(bloc, change);
|
||||
_checkLogLevel(_blocChangeLogLevels, LogLevel.debug, bloc, (logLevel) {
|
||||
_checkLogLevel(_blocChangeLogLevels, LogLevel.off, bloc, (logLevel) {
|
||||
const encoder = JsonEncoder.withIndent(' ', DynamicDebug.toDebug);
|
||||
log.log(
|
||||
logLevel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue