Table of Contents

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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids IEnumerable<IReference>
exception Exception
arguments 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
exception Exception
arguments 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
arguments object[]

Warning(ILogger, Package, IReference, AssetMessageCode, IReference[])

public static void Warning(this ILogger logger, Package package, IReference assetReference, AssetMessageCode code, IReference[] relatedGuids)

Parameters

logger ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
relatedGuids 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 ILogger
package Package
assetReference IReference
code AssetMessageCode
arguments object[]