Class AssetLoggerExtensions
- Namespace
- Stride.Core.Assets.Diagnostics
- Assembly
- Stride.Core.Assets.dll
Extension to Logger for loggin specific error with assets.
public static class AssetLoggerExtensions
- Inheritance
-
AssetLoggerExtensions
Methods
Error(ILogger, Package, IReference, AssetMessageCode, IReference[], Exception)
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IReference[] relatedGuids, Exception exception = null)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IReference[]exception
Exception
Error(ILogger, Package, IReference, AssetMessageCode, IEnumerable<IReference>, Exception)
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IEnumerable<IReference> relatedGuids, Exception exception = null)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IEnumerable<IReference>exception
Exception
Error(ILogger, Package, IReference, AssetMessageCode, IEnumerable<IReference>, Exception, params object[])
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IEnumerable<IReference> relatedGuids, Exception exception, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IEnumerable<IReference>exception
Exceptionarguments
object[]
Error(ILogger, Package, IReference, AssetMessageCode, IEnumerable<IReference>, params object[])
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IEnumerable<IReference> relatedGuids, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IEnumerable<IReference>arguments
object[]
Error(ILogger, Package, IReference, AssetMessageCode, Exception, params object[])
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, Exception exception, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCodeexception
Exceptionarguments
object[]
Error(ILogger, Package, IReference, AssetMessageCode, params object[])
public static void Error(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCodearguments
object[]
Warning(ILogger, Package, IReference, AssetMessageCode, IReference[])
public static void Warning(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IReference[] relatedGuids)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IReference[]
Warning(ILogger, Package, IReference, AssetMessageCode, IEnumerable<IReference>)
public static void Warning(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IEnumerable<IReference> relatedGuids)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IEnumerable<IReference>
Warning(ILogger, Package, IReference, AssetMessageCode, IEnumerable<IReference>, params object[])
public static void Warning(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IEnumerable<IReference> relatedGuids, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCoderelatedGuids
IEnumerable<IReference>arguments
object[]
Warning(ILogger, Package, IReference, AssetMessageCode, params object[])
public static void Warning(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, params object[] arguments)
Parameters
logger
ILoggerpackage
PackageassetReference
IReferencecode
AssetMessageCodearguments
object[]