DatadogLogger constructor
Implementation
DatadogLogger({
this.loggerName,
bool bindOnRecord = true,
}) {
channel.invokeMethod('loggerCreateLogger', {
'identifier': hashCode.toString(),
'loggerName': loggerName,
});
if (bindOnRecord) Logger.root.onRecord.listen(onRecordCallback);
}