7 types derived from LogMessage
Microsoft.CodeAnalysis.Workspaces (7)
Log\KeyValueLogMessage.cs (1)
18
internal sealed class KeyValueLogMessage :
LogMessage
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\LogMessage.cs (6)
59
private sealed class StaticLogMessage :
LogMessage
87
private sealed class LazyLogMessage :
LogMessage
117
private sealed class LazyLogMessage<TArg0> :
LogMessage
150
private sealed class LazyLogMessage<TArg0, TArg1> :
LogMessage
186
private sealed class LazyLogMessage<TArg0, TArg1, TArg2> :
LogMessage
225
private sealed class LazyLogMessage<TArg0, TArg1, TArg2, TArg3> :
LogMessage
51 references to LogMessage
Microsoft.CodeAnalysis.Workspaces (51)
CodeFixesAndRefactorings\FixAllLogger.cs (1)
185
public static
LogMessage
CreateCorrelationLogMessage(int correlationId)
Log\AggregateLogger.cs (3)
117
public void Log(FunctionId functionId,
LogMessage
logMessage)
131
public void LogBlockStart(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, CancellationToken cancellationToken)
145
public void LogBlockEnd(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
Log\EmptyLogger.cs (3)
21
public void Log(FunctionId functionId,
LogMessage
logMessage)
25
public void LogBlockStart(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, CancellationToken cancellationToken)
29
public void LogBlockEnd(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
Log\EtwLogger.cs (4)
26
public void Log(FunctionId functionId,
LogMessage
logMessage)
29
public void LogBlockStart(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, CancellationToken cancellationToken)
32
public void LogBlockEnd(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
50
private string GetMessage(
LogMessage
logMessage)
Log\TraceLogger.cs (3)
21
public void Log(FunctionId functionId,
LogMessage
logMessage)
24
public void LogBlockStart(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, CancellationToken cancellationToken)
27
public void LogBlockEnd(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\ILogger.cs (3)
22
void Log(FunctionId functionId,
LogMessage
logMessage);
27
void LogBlockStart(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, CancellationToken cancellationToken);
32
void LogBlockEnd(FunctionId functionId,
LogMessage
logMessage, int uniquePairId, int delta, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (19)
63
logger.Log(functionId,
LogMessage
.Create(message ?? "", logLevel: logLevel));
75
var
logMessage =
LogMessage
.Create(messageGetter, logLevel);
90
var
logMessage =
LogMessage
.Create(messageGetter, arg, logLevel);
104
var
logMessage =
LogMessage
.Create(messageGetter, arg0, arg1, logLevel);
118
var
logMessage =
LogMessage
.Create(messageGetter, arg0, arg1, arg2, logLevel);
132
var
logMessage =
LogMessage
.Create(messageGetter, arg0, arg1, arg2, arg3, logLevel);
141
public static void Log(FunctionId functionId,
LogMessage
logMessage)
167
? CreateLogBlock(functionId,
LogMessage
.Create(message ?? "", logLevel), GetNextUniqueBlockId(), token)
176
? CreateLogBlock(functionId,
LogMessage
.Create(messageGetter, logLevel), GetNextUniqueBlockId(), token)
185
? CreateLogBlock(functionId,
LogMessage
.Create(messageGetter, arg, logLevel), GetNextUniqueBlockId(), token)
194
? CreateLogBlock(functionId,
LogMessage
.Create(messageGetter, arg0, arg1, logLevel), GetNextUniqueBlockId(), token)
203
? CreateLogBlock(functionId,
LogMessage
.Create(messageGetter, arg0, arg1, arg2, logLevel), GetNextUniqueBlockId(), token)
212
? CreateLogBlock(functionId,
LogMessage
.Create(messageGetter, arg0, arg1, arg2, arg3, logLevel), GetNextUniqueBlockId(), token)
218
public static IDisposable LogBlock(FunctionId functionId,
LogMessage
logMessage, CancellationToken token)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.LogBlock.cs (3)
19
private static IDisposable CreateLogBlock(FunctionId functionId,
LogMessage
message, int blockId, CancellationToken cancellationToken)
37
private
LogMessage
? _logMessage;
44
public void Construct(ILogger logger, FunctionId functionId,
LogMessage
logMessage, int blockId, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\LogMessage.cs (12)
17
public static
LogMessage
Create(string message, LogLevel logLevel)
20
public static
LogMessage
Create(Func<string> messageGetter, LogLevel logLevel)
23
public static
LogMessage
Create<TArg>(Func<TArg, string> messageGetter, TArg arg, LogLevel logLevel)
26
public static
LogMessage
Create<TArg0, TArg1>(Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, LogLevel logLevel)
29
public static
LogMessage
Create<TArg0, TArg1, TArg2>(Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, LogLevel logLevel)
32
public static
LogMessage
Create<TArg0, TArg1, TArg2, TArg3>(Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, LogLevel logLevel)
63
public static
LogMessage
Construct(string message, LogLevel logLevel)
93
public static
LogMessage
Construct(Func<string> messageGetter, LogLevel logLevel)
124
public static
LogMessage
Construct(Func<TArg0, string> messageGetter, TArg0 arg, LogLevel logLevel)
158
internal static
LogMessage
Construct(Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, LogLevel logLevel)
195
public static
LogMessage
Construct(Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, LogLevel logLevel)
235
public static
LogMessage
Construct(Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, LogLevel logLevel)