Show / Hide Table of Contents

Class GPALLogger

Inheritance
System.Object
GPALLogger
Implements
IAllowLoggingAndSetting
IAllowLogging
IAllowLoggingSettings
IAllowToGPALObject<GPALLogger>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public class GPALLogger : IAllowLoggingAndSetting, IAllowLogging, IAllowLoggingSettings, IAllowToGPALObject<GPALLogger>

Constructors

GPALLogger()

Declaration
public GPALLogger()

Methods

GetFormatString(Enums.LogDateFormat)

Declaration
public static string GetFormatString(Enums.LogDateFormat format)
Parameters
Type Name Description
Enums.LogDateFormat format
Returns
Type Description
System.String

Log(Object)

Declaration
public IAllowLoggingSettings Log(dynamic logThis)
Parameters
Type Name Description
System.Object logThis
Returns
Type Description
IAllowLoggingSettings

ToGPALObject()

Declaration
public GPALLogger ToGPALObject()
Returns
Type Description
GPALLogger

WithDatabase(GPALDatabase)

Declaration
public IAllowLoggingSettings WithDatabase(GPALDatabase database)
Parameters
Type Name Description
GPALDatabase database
Returns
Type Description
IAllowLoggingSettings

WithDelimiter(Char)

Declaration
public IAllowLoggingAndSetting WithDelimiter(char delimiter)
Parameters
Type Name Description
System.Char delimiter
Returns
Type Description
IAllowLoggingAndSetting

WithDirectoryStructure(Enums.DirectoryStructure)

Declaration
public IAllowLoggingSettings WithDirectoryStructure(Enums.DirectoryStructure type)
Parameters
Type Name Description
Enums.DirectoryStructure type
Returns
Type Description
IAllowLoggingSettings

WithFilename(String)

Declaration
public IAllowLoggingSettings WithFilename(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
IAllowLoggingSettings

WithFilenamePattern(Enums.FilenamePattern)

Declaration
public IAllowLoggingSettings WithFilenamePattern(Enums.FilenamePattern pattern)
Parameters
Type Name Description
Enums.FilenamePattern pattern
Returns
Type Description
IAllowLoggingSettings

WithLogDateAsAttribute(Boolean)

Declaration
public IAllowLoggingAndSetting WithLogDateAsAttribute(bool logDateAsAttribute = true)
Parameters
Type Name Description
System.Boolean logDateAsAttribute
Returns
Type Description
IAllowLoggingAndSetting

WithLoggingFormat(Enums.LogDateFormat)

Declaration
public IAllowLoggingAndSetting WithLoggingFormat(Enums.LogDateFormat logDateFormat)
Parameters
Type Name Description
Enums.LogDateFormat logDateFormat
Returns
Type Description
IAllowLoggingAndSetting

WithLogType(Enums.LogType)

Declaration
public IAllowLoggingAndSetting WithLogType(Enums.LogType logType)
Parameters
Type Name Description
Enums.LogType logType
Returns
Type Description
IAllowLoggingAndSetting

WithRootDirectory(String)

Declaration
public IAllowLoggingSettings WithRootDirectory(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
IAllowLoggingSettings

Implements

IAllowLoggingAndSetting
IAllowLogging
IAllowLoggingSettings
IAllowToGPALObject<TResult>
In This Article
Back to top Generated by DocFX