Definition
Assembly: CloudNimble.EasyAF.Restier.dll Namespace: CloudNimble.EasyAF.Restier Inheritance: System.ObjectSyntax
Summary
Provides utility methods for logging Restier operations and entity lifecycle events. Supports logging for both named entities and identifiable entities with detailed operation tracking.Methods
LogOperation
Logs a Restier operation for the specified entity type name. Formats the log message with appropriate verb tense based on operation type.Syntax
Parameters
LogOperation
Logs a Restier operation for the specified DbObservableObject entity. Extracts the entity type name and delegates to the string-based logging method.Syntax
Parameters
LogOperation
Logs a Restier operation for the specified identifiable entity, including the entity’s ID in the log message. Provides more detailed logging by including the specific entity identifier.Syntax
Parameters
Type Parameters
T- The type of entity that implements IIdentifiable.TId- The type of the entity’s identifier.