Table of Contents

Class Logger

Namespace
Amazon.Runtime.Internal.Util
Assembly
AWSSDK.Core.dll

This is a dynamic wrapper around log4net so we can avoid log4net being required to be distributed with the SDK.

public class Logger : ILogger
Inheritance
Logger
Implements
Inherited Members

Properties

EmptyLogger

public static Logger EmptyLogger { get; }

Property Value

Logger

Methods

ClearLoggerCache()

public static void ClearLoggerCache()

Debug(Exception, string, params object[])

public void Debug(Exception exception, string messageFormat, params object[] args)

Parameters

exception Exception
messageFormat string
args object[]

DebugFormat(string, params object[])

public void DebugFormat(string messageFormat, params object[] args)

Parameters

messageFormat string
args object[]

Error(Exception, string, params object[])

public void Error(Exception exception, string messageFormat, params object[] args)

Parameters

exception Exception
messageFormat string
args object[]

Flush()

public void Flush()

GetLogger(Type)

public static Logger GetLogger(Type type)

Parameters

type Type

Returns

Logger

InfoFormat(string, params object[])

public void InfoFormat(string messageFormat, params object[] args)

Parameters

messageFormat string
args object[]