Show / Hide Table of Contents

Class CallingMethodLogInfo

ILogInfo for the name of the calling method.

Inheritance
System.Object
CallingMethodLogInfo
Implements
ILogInfo
Namespace: Log73
Assembly: Log73.dll
Syntax
public class CallingMethodLogInfo : object, ILogInfo

Fields

| Improve this Doc View Source

FullName

For example: If true, returns "Log73.TypeLogInfo.GetValue". If false, returns "GetValue"

Declaration
public bool FullName
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

UnableToGet

Declaration
public string UnableToGet
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

Style

Declaration
public ConsoleStyleOption Style { get; set; }
Property Value
Type Description
ConsoleStyleOption

Methods

| Improve this Doc View Source

GetCallerFrame()

The method used to get the caller in the CallingMethodLogInfo, CallingClassLogInfo and CallingModuleLogInfo ILogInfos.

Declaration
public static StackFrame GetCallerFrame()
Returns
Type Description
StackFrame
Exceptions
Type Condition
System.Exception

If fails to get the caller an exception is thrown.

| Improve this Doc View Source

GetValue(LogInfoContext)

Declaration
public string GetValue(LogInfoContext context)
Parameters
Type Name Description
LogInfoContext context
Returns
Type Description
System.String

Implements

ILogInfo

Extension Methods

DumpExtensionMethods.Dump(Object)
DumpExtensionMethods.DumpInfo(Object)
DumpExtensionMethods.DumpWarn(Object)
DumpExtensionMethods.DumpError(Object)
DumpExtensionMethods.DumpDebug(Object)
SerializeExtensionMethods.SerializeAsXml(Object)
SerializeExtensionMethods.SerializeAsXml(Object, XmlWriterSettings)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX