glog is a dart implementation of the google's glog format.
Add the dependency:
$ dart pub add glog
// initialize the logger at the module's boundary:
import 'package:glog/glog.dart';
const logger = GlogContext('ui');
// then use it later
logger.info('Hello, world!');