namespace Tizen.NUI.BaseComponents
{
-#if (NUI_DEBUG_ON)
- using tlog = Tizen.Log;
-#endif
-
/// <summary>
/// AnimatedVectorImageView is a class for displaying a vector resource.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimatedVectorImageView() : base()
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ constructor objId={GetId()} ] END]");
+ NUILog.Debug($"[AnimatedVectorImageView START[ constructor objId={GetId()} ] END]");
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimatedVectorImageView(float scale) : base(scale)
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ constructor scale={scale}) objId={GetId()} ] END]");
+ NUILog.Debug($"[AnimatedVectorImageView START[ constructor scale={scale}) objId={GetId()} ] END]");
}
/// <summary>
{
return;
}
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] type={type})");
+ NUILog.Debug($"AnimatedVectorImageView START");
//Release your own unmanaged resources here.
//You should not access any managed member here except static instance.
base.Dispose(type);
- tlog.Fatal(tag, $"]AnimatedVectorImageView END]");
+ NUILog.Debug($"AnimatedVectorImageView END");
}
#endregion Constructor, Destructor, Dispose
{
set
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] ResourceURL SET");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] ResourceURL SET");
if (value == resourceUrl)
{
- tlog.Fatal(tag, $"set same URL! ");
+ NUILog.Debug($"set same URL! ");
return;
}
resourceUrl = (value == null) ? "" : value;
URL = resourceUrl;
isMinMaxFrameSet = minMaxSetTypes.NotSetByUser;
totalFrameNum = base.TotalFrame;
- tlog.Fatal(tag, $" [{GetId()}] resourceUrl={resourceUrl}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] resourceUrl={resourceUrl}) ]AnimatedVectorImageView END]");
}
get => resourceUrl;
}
{
set
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] ResourceUrl SET");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] ResourceUrl SET");
this.ResourceURL = value;
- tlog.Fatal(tag, $" [{GetId()}] value={value}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] value={value}) ]AnimatedVectorImageView END]");
}
get
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView [ [{GetId()}] ResourceUrl GET");
+ NUILog.Debug($"[AnimatedVectorImageView [ [{GetId()}] ResourceUrl GET");
return this.ResourceURL;
}
}
{
set
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] RepeatCount SET");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] RepeatCount SET");
repeatCnt = (value < -1) ? -1 : value;
LoopCount = (repeatCnt < 0) ? repeatCnt : repeatCnt + 1;
- tlog.Fatal(tag, $"[{GetId()}] repeatCnt={repeatCnt} ]AnimatedVectorImageView END]");
+ NUILog.Debug($"[{GetId()}] repeatCnt={repeatCnt} ]AnimatedVectorImageView END]");
}
get => repeatCnt;
}
{
set
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] CurrentFrame SET");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] CurrentFrame SET");
if (string.IsNullOrEmpty(resourceUrl))
{
base.SetMinMaxFrame(0, totalFrameNum - 1);
base.CurrentFrame = innerCurrentFrame;
- tlog.Fatal(tag, $" [{GetId()}] innerCurrentFrame={innerCurrentFrame}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] innerCurrentFrame={innerCurrentFrame}) ]AnimatedVectorImageView END]");
}
get => innerCurrentFrame;
}
{
set
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] RepeatMode SET");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] RepeatMode SET");
repeatMode = value;
switch (repeatMode)
break;
}
- tlog.Fatal(tag, $" [{GetId()}] repeatMode={repeatMode}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] repeatMode={repeatMode}) ]AnimatedVectorImageView END]");
}
get => repeatMode;
}
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetMinAndMaxFrame(int minFrame, int maxFrame)
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] SetMinAndMaxFrame({minFrame}, {maxFrame})");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] SetMinAndMaxFrame({minFrame}, {maxFrame})");
minimumFrame = (minFrame) > 0 ? minFrame : 0;
maximumFrame = (maxFrame) > 0 ? maxFrame : 0;
return;
}
- tlog.Fatal(tag, $" [{GetId()}] minimumFrame:{minimumFrame}, maximumFrame:{maximumFrame}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] minimumFrame:{minimumFrame}, maximumFrame:{maximumFrame}) ]AnimatedVectorImageView END]");
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public new void SetMinMaxFrame(int minFrame, int maxFrame)
{
- tlog.Fatal(tag, $"SetMinMaxFrame({minFrame}, {maxFrame})!!!");
+ NUILog.Debug($"SetMinMaxFrame({minFrame}, {maxFrame})!!!");
minimumFrame = (minFrame) > 0 ? minFrame : 0;
maximumFrame = (maxFrame) > 0 ? maxFrame : 0;
[EditorBrowsable(EditorBrowsableState.Never)]
public new void SetMinMaxFrameByMarker(string marker1, string marker2 = null)
{
- tlog.Fatal(tag, $"SetMinMaxFrameByMarker({marker1}, {marker2})");
+ NUILog.Debug($"SetMinMaxFrameByMarker({marker1}, {marker2})");
isMinMaxFrameSet = minMaxSetTypes.SetByMarker;
base.SetMinMaxFrameByMarker(marker1, marker2);
}
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Play()
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
if (string.IsNullOrEmpty(resourceUrl))
{
base.Play();
AnimationState = AnimationStates.Playing;
- tlog.Fatal(tag, $" [{GetId()}] isMinMaxFrameSet={isMinMaxFrameSet}) ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] isMinMaxFrameSet={isMinMaxFrameSet}) ]AnimatedVectorImageView END]");
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Pause()
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
if (string.IsNullOrEmpty(resourceUrl))
{
base.Pause();
AnimationState = AnimationStates.Paused;
- tlog.Fatal(tag, $" [{GetId()}] ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] ]AnimatedVectorImageView END]");
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void Stop(EndActions endAction = EndActions.Cancel)
{
- tlog.Fatal(tag, $"[AnimatedVectorImageView START[ [{GetId()}] endAction:({endAction}), PlayState={PlayState}");
+ NUILog.Debug($"[AnimatedVectorImageView START[ [{GetId()}] endAction:({endAction}), PlayState={PlayState}");
if (string.IsNullOrEmpty(resourceUrl))
{
StopBehavior = StopBehaviorType.MaximumFrame;
break;
default:
- tlog.Fatal(tag, $" [{GetId()}] no endAction : default set");
+ NUILog.Debug($" [{GetId()}] no endAction : default set");
break;
}
}
case minMaxSetTypes.NotSetByUser:
if (base.CurrentFrame != totalFrameNum - 1)
{
- tlog.Fatal(tag, $"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, totalFrameNum:{ totalFrameNum}");
+ NUILog.Debug($"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, totalFrameNum:{ totalFrameNum}");
base.CurrentFrame = totalFrameNum - 1;
- tlog.Fatal(tag, $"set CurrentFrameNumber({base.CurrentFrame}) as totalFrameNum({maximumFrame}) - 1 !");
+ NUILog.Debug($"set CurrentFrameNumber({base.CurrentFrame}) as totalFrameNum({maximumFrame}) - 1 !");
}
break;
case minMaxSetTypes.SetByMinAndMaxFrameMethod:
if (base.CurrentFrame != maximumFrame)
{
- tlog.Fatal(tag, $"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, maximumFrame:{ maximumFrame}");
+ NUILog.Debug($"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, maximumFrame:{ maximumFrame}");
base.CurrentFrame = maximumFrame;
- tlog.Fatal(tag, $"set CurrentFrameNumber({base.CurrentFrame}) as maximumFrame({maximumFrame})!!!");
+ NUILog.Debug($"set CurrentFrameNumber({base.CurrentFrame}) as maximumFrame({maximumFrame})!!!");
}
break;
case minMaxSetTypes.SetByBaseSetMinMaxFrameMethod:
break;
}
}
- tlog.Fatal(tag, $" [{GetId()}] ]AnimatedVectorImageView END]");
+ NUILog.Debug($" [{GetId()}] ]AnimatedVectorImageView END]");
}
#endregion Method
namespace Tizen.NUI.BaseComponents
{
-#if (NUI_DEBUG_ON)
- using tlog = Tizen.Log;
-#endif
-
/// <summary>
/// LottieAnimationView renders an animated vector image (Lottie file).
/// </summary>
/// <since_tizen> 7 </since_tizen>
public LottieAnimationView(float scale = 1.0f, bool shown = true) : base()
{
- tlog.Fatal(tag, $"< constructor GetId={GetId()} >");
+ NUILog.Debug($"< constructor GetId={GetId()} >");
currentStates.url = "";
currentStates.frame = -1;
currentStates.loopCount = 1;
return;
}
- tlog.Fatal(tag, $"<[{GetId()}] type={type}");
-
//Release your own unmanaged resources here.
//You should not access any managed member here except static instance.
//because the execution order of Finalizes is non-deterministic.
{
VisualEventSignal().Disconnect(visualEventSignalCallback);
finishedEventHandler = null;
- tlog.Fatal(tag, $"disconnect event signal");
+ NUILog.Debug($"disconnect event signal");
}
base.Dispose(type);
- tlog.Fatal(tag, $"[{GetId()}]>");
}
#endregion Constructor, Destructor, Dispose
currentStates.url = ret;
currentStates.changed = true;
- tlog.Fatal(tag, $"<[{GetId()}]SET url={currentStates.url}");
+ NUILog.Debug($"<[{GetId()}]SET url={currentStates.url}");
PropertyMap map = new PropertyMap();
map.Add(Visual.Property.Type, new PropertyValue((int)DevelVisual.Type.AnimatedVectorImage))
{
Scale = new Vector3(currentStates.scale, currentStates.scale, 0.0f);
}
- tlog.Fatal(tag, $"<[{GetId()}]>");
+ NUILog.Debug($"<[{GetId()}]>");
}
get
{
string ret = currentStates.url;
- tlog.Fatal(tag, $"<[{GetId()}] GET");
+ NUILog.Debug($"<[{GetId()}] GET");
PropertyMap map = Image;
if (map != null)
{
if (val.Get(out ret))
{
- tlog.Fatal(tag, $"gotten url={ret} >");
+ NUILog.Debug($"gotten url={ret} >");
return ret;
}
}
{
get
{
- tlog.Fatal(tag, $"< Get!");
+ NUILog.Debug($"< Get!");
PropertyMap map = base.Image;
var ret = 0;
if (map != null)
if (val.Get(out ret))
{
currentStates.playState = (PlayStateType)ret;
- tlog.Fatal(tag, $"gotten play state={ret} >");
+ NUILog.Debug($"gotten play state={ret} >");
}
}
}
{
if (val.Get(out ret))
{
- //tlog.Fatal(tag, $"TotalFrameNumber get! ret={ret}");
+ //NUILog.Debug( $"TotalFrameNumber get! ret={ret}");
currentStates.totalFrame = ret;
return ret;
}
set
{
currentStates.frame = value;
- tlog.Fatal(tag, $"<[{GetId()}]SET frame={currentStates.frame}>");
+ NUILog.Debug($"<[{GetId()}]SET frame={currentStates.frame}>");
DoAction(ImageView.Property.IMAGE, (int)actionType.jumpTo, new PropertyValue(currentStates.frame));
}
get
{
if (val.Get(out ret))
{
- //tlog.Fatal(tag, $"CurrentFrameNumber get! val={ret}");
+ //NUILog.Debug( $"CurrentFrameNumber get! val={ret}");
return ret;
}
}
currentStates.loopMode = (LoopingModeType)value;
currentStates.changed = true;
- tlog.Fatal(tag, $"<[{GetId()}] SET loopMode={currentStates.loopMode}>");
+ NUILog.Debug($"<[{GetId()}] SET loopMode={currentStates.loopMode}>");
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.LoopingMode, new PropertyValue((int)currentStates.loopMode));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
}
get
{
- //tlog.Fatal(tag, $"LoopMode get!");
+ //NUILog.Debug( $"LoopMode get!");
PropertyMap map = base.Image;
var ret = 0;
if (map != null)
{
if (val.Get(out ret))
{
- //tlog.Fatal(tag, $"gotten LoopMode={ret}");
+ //NUILog.Debug( $"gotten LoopMode={ret}");
if (ret != (int)currentStates.loopMode && ret > 0)
{
- tlog.Fatal(tag, $" [ERROR][{GetId()}](LottieAnimationView) different LoopMode! gotten={ret}, loopMode={currentStates.loopMode}");
+ NUILog.Debug($" [ERROR][{GetId()}](LottieAnimationView) different LoopMode! gotten={ret}, loopMode={currentStates.loopMode}");
}
currentStates.loopMode = (LoopingModeType)ret;
return (LoopingModeType)ret;
{
currentStates.changed = true;
currentStates.loopCount = value;
- tlog.Fatal(tag, $"<[{GetId()}]SET currentStates.loopCount={currentStates.loopCount}>");
+ NUILog.Debug($"<[{GetId()}]SET currentStates.loopCount={currentStates.loopCount}>");
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.LoopCount, new PropertyValue(currentStates.loopCount));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
}
get
{
- //tlog.Fatal(tag, $"LoopCount get!");
+ //NUILog.Debug( $"LoopCount get!");
PropertyMap map = base.Image;
var ret = 0;
if (map != null)
{
if (val.Get(out ret))
{
- //tlog.Fatal(tag, $"gotten loop count={ret}");
+ //NUILog.Debug( $"gotten loop count={ret}");
if (ret != currentStates.loopCount && ret > 0)
{
- tlog.Fatal(tag, $"<[ERROR][{GetId()}](LottieAnimationView) different loop count! gotten={ret}, loopCount={currentStates.loopCount}>");
+ NUILog.Debug($"<[ERROR][{GetId()}](LottieAnimationView) different loop count! gotten={ret}, loopCount={currentStates.loopCount}>");
}
currentStates.loopCount = ret;
return currentStates.loopCount;
currentStates.stopEndAction = (StopBehaviorType)value;
currentStates.changed = true;
- tlog.Fatal(tag, $"<[{GetId()}]SET val={currentStates.stopEndAction}>");
+ NUILog.Debug($"<[{GetId()}]SET val={currentStates.stopEndAction}>");
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.StopBehavior, new PropertyValue((int)currentStates.stopEndAction));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
}
get
{
- //tlog.Fatal(tag, $"StopBehavior get!");
+ //NUILog.Debug( $"StopBehavior get!");
PropertyMap map = base.Image;
var ret = 0;
if (map != null)
{
if (val.Get(out ret))
{
- //tlog.Fatal(tag, $"gotten StopBehavior={ret}");
+ //NUILog.Debug( $"gotten StopBehavior={ret}");
if (ret != (int)currentStates.stopEndAction)
{
- tlog.Fatal(tag, $"<[ERROR][{GetId()}](LottieAnimationView) different StopBehavior! gotten={ret}, StopBehavior={currentStates.stopEndAction}>");
+ NUILog.Debug($"<[ERROR][{GetId()}](LottieAnimationView) different StopBehavior! gotten={ret}, StopBehavior={currentStates.stopEndAction}>");
}
currentStates.stopEndAction = (StopBehaviorType)ret;
return (StopBehaviorType)ret;
{
currentStates.changed = true;
currentStates.redrawInScalingDown = value;
- tlog.Fatal(tag, $"<[{GetId()}]SET currentStates.redrawInScalingDown={currentStates.redrawInScalingDown}>");
+ NUILog.Debug($"<[{GetId()}]SET currentStates.redrawInScalingDown={currentStates.redrawInScalingDown}>");
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.RedrawInScalingDown, new PropertyValue(currentStates.redrawInScalingDown));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
{
if (ret != currentStates.redrawInScalingDown)
{
- tlog.Fatal(tag, $"<[ERROR][{GetId()}](LottieAnimationView) different redrawInScalingDown! gotten={ret}, redrawInScalingDown={currentStates.redrawInScalingDown}>");
+ NUILog.Debug($"<[ERROR][{GetId()}](LottieAnimationView) different redrawInScalingDown! gotten={ret}, redrawInScalingDown={currentStates.redrawInScalingDown}>");
}
currentStates.redrawInScalingDown = ret;
return currentStates.redrawInScalingDown;
/// <since_tizen> 7 </since_tizen>
public void SetMinMaxFrame(int minFrame, int maxFrame)
{
- tlog.Fatal(tag, $"< [{GetId()}] SetPlayRange({minFrame}, {maxFrame})");
+ NUILog.Debug($"< [{GetId()}] SetPlayRange({minFrame}, {maxFrame})");
currentStates.changed = true;
currentStates.framePlayRangeMin = minFrame;
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.PlayRange, new PropertyValue(array));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
- tlog.Fatal(tag, $" [{GetId()}] currentStates.min:({currentStates.framePlayRangeMin}, max:{currentStates.framePlayRangeMax})>");
+ NUILog.Debug($" [{GetId()}] currentStates.min:({currentStates.framePlayRangeMin}, max:{currentStates.framePlayRangeMax})>");
}
/// <summary>
/// <since_tizen> 7 </since_tizen>
public new void Play()
{
- tlog.Fatal(tag, $"<[{GetId()}] Play()");
+ NUILog.Debug($"<[{GetId()}] Play()");
debugPrint();
base.Play();
- tlog.Fatal(tag, $"[{GetId()}]>");
+ NUILog.Debug($"[{GetId()}]>");
}
/// <summary>
/// <since_tizen> 7 </since_tizen>
public new void Pause()
{
- tlog.Fatal(tag, $"<[{GetId()}] Pause()>");
+ NUILog.Debug($"<[{GetId()}] Pause()>");
debugPrint();
base.Pause();
- tlog.Fatal(tag, $"[{GetId()}]>");
+ NUILog.Debug($"[{GetId()}]>");
}
/// <summary>
/// <since_tizen> 7 </since_tizen>
public new void Stop()
{
- tlog.Fatal(tag, $"<[{GetId()}] Stop()");
+ NUILog.Debug($"<[{GetId()}] Stop()");
debugPrint();
base.Stop();
- tlog.Fatal(tag, $"[{GetId()}]>");
+ NUILog.Debug($"[{GetId()}]>");
}
/// <summary>
/// <since_tizen> 7 </since_tizen>
public List<Tuple<string, int, int>> GetContentInfo()
{
- tlog.Fatal(tag, $"<");
+ NUILog.Debug($"<");
if (currentStates.contentInfo != null)
{
return currentStates.contentInfo;
arr.GetElementAt(0).Get(out startFrame);
arr.GetElementAt(1).Get(out endFrame);
- tlog.Fatal(tag, $"[{i}] layer name={key}, startFrame={startFrame}, endFrame={endFrame}");
+ NUILog.Debug($"[{i}] layer name={key}, startFrame={startFrame}, endFrame={endFrame}");
Tuple<string, int, int> item = new Tuple<string, int, int>(key, startFrame, endFrame);
}
}
}
- tlog.Fatal(tag, $">");
+ NUILog.Debug($">");
return currentStates.contentInfo;
}
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetMinMaxFrameByMarker(string marker1, string marker2 = null)
{
- tlog.Fatal(tag, $"< [{GetId()}] SetMinMaxFrameByMarker({marker1}, {marker2})");
+ NUILog.Debug($"< [{GetId()}] SetMinMaxFrameByMarker({marker1}, {marker2})");
currentStates.changed = true;
currentStates.mark1 = marker1;
PropertyMap map = new PropertyMap();
map.Add(ImageVisualProperty.PlayRange, new PropertyValue(array));
DoAction(ImageView.Property.IMAGE, (int)actionType.updateProperty, new PropertyValue(map));
- tlog.Fatal(tag, $" [{GetId()}] currentStates.mark1:{currentStates.mark1}, mark2:{currentStates.mark2} >");
+ NUILog.Debug($" [{GetId()}] currentStates.mark1:{currentStates.mark1}, mark2:{currentStates.mark2} >");
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public Tuple<int, int> GetMinMaxFrame()
{
- tlog.Fatal(tag, $"< [{GetId()}] GetMinMaxFrame()! total frame={currentStates.totalFrame}");
+ NUILog.Debug($"< [{GetId()}] GetMinMaxFrame()! total frame={currentStates.totalFrame}");
PropertyMap map = Image;
if (map != null)
int intRet;
if (v.Get(out intRet))
{
- tlog.Fatal(tag, $"Got play range of string [{i}]: {intRet}");
+ NUILog.Debug($"Got play range of string [{i}]: {intRet}");
if (i == 0)
{
item1 = intRet;
Tizen.Log.Error("NUI", $"[ERR] fail to get play range from dali! case#1");
}
}
- tlog.Fatal(tag, $" [{GetId()}] GetMinMaxFrame(min:{item1}, max:{item2})! >");
+ NUILog.Debug($" [{GetId()}] GetMinMaxFrame(min:{item1}, max:{item2})! >");
return new Tuple<int, int>(item1, item2);
}
}
{
if (finishedEventHandler == null)
{
- tlog.Fatal(tag, $"<[{GetId()}] Finished eventhandler added>");
+ NUILog.Debug($"<[{GetId()}] Finished eventhandler added>");
visualEventSignalCallback = onVisualEventSignal;
VisualEventSignal().Connect(visualEventSignalCallback);
}
}
remove
{
- tlog.Fatal(tag, $"<[{GetId()}] Finished eventhandler removed>");
+ NUILog.Debug($"<[{GetId()}] Finished eventhandler removed>");
finishedEventHandler -= value;
if (finishedEventHandler == null && visualEventSignalCallback != null)
{
private void OnFinished()
{
- tlog.Fatal(tag, $"<[{GetId()}] OnFinished()>");
+ NUILog.Debug($"<[{GetId()}] OnFinished()>");
finishedEventHandler?.Invoke(this, null);
}
View v = Registry.GetManagedBaseHandleFromNativePtr(targetView) as View;
if (v != null)
{
- tlog.Fatal(tag, $"targetView is not null! name={v.Name}");
+ NUILog.Debug($"targetView is not null! name={v.Name}");
}
else
{
- tlog.Fatal(tag, $"target is something created from dali");
+ NUILog.Debug($"target is something created from dali");
}
}
VisualEventSignalArgs e = new VisualEventSignalArgs();
e.SignalId = signalId;
visualEventSignalHandler?.Invoke(this, e);
- tlog.Fatal(tag, $"<[{GetId()}] onVisualEventSignal()! visualIndex={visualIndex}, signalId={signalId}>");
+ NUILog.Debug($"<[{GetId()}] onVisualEventSignal()! visualIndex={visualIndex}, signalId={signalId}>");
}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private void debugPrint()
{
- tlog.Fatal(tag, $"===================================");
- tlog.Fatal(tag, $"<[{GetId()}] get currentStates : url={currentStates.url}, loopCount={currentStates.loopCount}, \nframePlayRangeMin/Max({currentStates.framePlayRangeMin},{currentStates.framePlayRangeMax}) ");
- tlog.Fatal(tag, $" get from Property : StopBehavior={StopBehavior}, LoopMode={LoopingMode}, LoopCount={LoopCount}, PlayState={PlayState}");
- tlog.Fatal(tag, $" RedrawInScalingDown={RedrawInScalingDown} >");
- tlog.Fatal(tag, $"===================================");
+ NUILog.Debug($"===================================");
+ NUILog.Debug($"<[{GetId()}] get currentStates : url={currentStates.url}, loopCount={currentStates.loopCount}, \nframePlayRangeMin/Max({currentStates.framePlayRangeMin},{currentStates.framePlayRangeMax}) ");
+ NUILog.Debug($" get from Property : StopBehavior={StopBehavior}, LoopMode={LoopingMode}, LoopCount={LoopCount}, PlayState={PlayState}");
+ NUILog.Debug($" RedrawInScalingDown={RedrawInScalingDown} >");
+ NUILog.Debug($"===================================");
}
#endregion Private
}