Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jorge Gatica
2020-08-27 22:46:36 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-08-27 22:46:36 +0200
Commit
444a27399b76483c091fbce636281086b181e6f1
444a2739
1 parent
b0e5f728
Update log.dart
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/src/core/log.dart
lib/src/core/log.dart
View file @
444a273
...
...
@@ -5,5 +5,5 @@ import 'dart:developer' as developer;
typedef
LogWriterCallback
=
void
Function
(
String
text
,
{
bool
isError
});
void
defaultLogWriterCallback
(
String
value
,
{
bool
isError
=
false
})
{
if
(
isError
||
GetConfig
.
isLogEnable
)
developer
.
log
(
value
,
name:
'
[GETX]
'
);
if
(
isError
||
GetConfig
.
isLogEnable
)
developer
.
log
(
value
,
name:
'
GETX
'
);
}
...
...
Please
register
or
login
to post a comment