flash tools log prefix

This commit is contained in:
2016-09-16 04:50:07 +07:00
parent 6474828774
commit 0c4efc0111
6 changed files with 10 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ namespace FlashTools.Internal {
ReconvertAsset(asset);
} else {
Debug.LogErrorFormat(
"Swf source for asset not found: '{0}'",
"<b>[FlashTools]</b> Swf source for asset not found: '{0}'",
GetSwfPath(asset));
RevertOverriddenSettings(asset);
}

View File

@@ -37,7 +37,7 @@ namespace FlashTools.Internal {
ConfigureAssetClips(asset);
} catch ( Exception e ) {
Debug.LogErrorFormat(
"Postprocess swf asset error: {0}",
"<b>[FlashTools]</b> Postprocess swf asset error: {0}",
e.Message);
SwfEditorUtils.DeleteAssetWithDepends(asset);
}

View File

@@ -47,7 +47,9 @@ namespace FlashTools.Internal {
new SwfDecoder(swf_path));
return true;
} catch ( Exception e ) {
Debug.LogErrorFormat("Parsing swf error: {0}", e.Message);
Debug.LogErrorFormat(
"<b>[FlashTools]</b> Parsing swf error: {0}",
e.Message);
return false;
}
}

View File

@@ -364,7 +364,9 @@ namespace FlashTools.Internal.SwfTools {
void TagToDebugLog(SwfTagBase tag) {
if ( tag is UnsupportedTag || tag is UnknownTag ) {
Debug.LogWarningFormat("SwfContextExecuter. {0}", tag);
Debug.LogWarningFormat(
"<b>[FlashTools]</b> SwfContextExecuter. {0}",
tag);
}
}
}

View File

@@ -114,7 +114,7 @@ namespace FlashTools.Internal.SwfTools.SwfTypes {
fill_style.BitmapMatrix = SwfMatrix.Read(reader, true);
} else {
Debug.LogError(
"imported .swf file contains vector graphics. " +
"<b>[FlashTools]</b> Imported .swf file contains vector graphics. " +
"You should use Tools/FlashExport.jsfl script for prepare .fla file");
}
return fill_style;

View File

@@ -182,7 +182,7 @@ namespace FlashTools {
}
if ( _curSequence == null ) {
Debug.LogWarningFormat(this,
"SwfClip. Sequence '{0}' not found",
"<b>[FlashTools]</b> Sequence '{0}' not found",
sequence);
}
}