fromNative static method
Implementation
static LogMessage fromNative(LogMessageNative native, {bool takeOwnership = true}) {
return LogMessage(
native.time,
LogLevelImpl.fromInt(native.level),
toPlatformString(native.scope, takeOwnership: takeOwnership),
toPlatformString(native.message, takeOwnership: takeOwnership),
toPlatformString(native.verboseInfo, takeOwnership: takeOwnership),
);
}