Skip to content

MicrosoftLoggingTypeSafeLogger

Namespace: TypeSafe.AI.Sdk

public sealed class MicrosoftLoggingTypeSafeLogger : ITypeSafeLogger

Adapts ILogger to ITypeSafeLogger.

Inheritance: object

Implements: ITypeSafeLogger

View source

public MicrosoftLoggingTypeSafeLogger(ILogger logger)

Create an adapter around a Microsoft logger.

Parameters

Name Type Description
logger ILogger

View source

public void Debug(string message, params object?[] args)

Write a debug message.

Parameters

Name Type Description
message string
args object[]

View source

public void Error(string message, params object?[] args)

Write an error message.

Parameters

Name Type Description
message string
args object[]

View source

public void Info(string message, params object?[] args)

Write an informational message.

Parameters

Name Type Description
message string
args object[]

View source

public void Warn(string message, params object?[] args)

Write a warning.

Parameters

Name Type Description
message string
args object[]

View source

MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API