static NameSyntax GetGlobalMethodIdentifier(LoggerMethod method) { return(IdentifierName(method.DeclaredInterfaceSymbol.GetFullTypeName() + "." + method.MethodDeclarationSyntax.Identifier.WithoutTrivia().ToFullString())); }
private static string GetLoggerMethodDelegateFieldName(LoggerMethod loggerMethod, LogLevel?subLevel = null) { return(loggerMethod.DelegateFieldName + (subLevel.HasValue ? subLevel.ToString() : string.Empty)); }