Show / Hide Table of Contents
TIM SDK
TIM API C#
Implementation Guide
  • SIX.TimApi
    • ActivateResponse
    • Amount
    • AmountDcc
    • AmountDiscount
    • AmountFinal
    • Application
    • BalanceInquiryResponse
    • BalanceResponse
    • Basket
    • BasketItem
    • Brand
    • CardData
    • CardTrackData
    • ClientIdentificationResponse
    • CommandRequest
    • CommandResponse
    • ConfigData
    • ConversionHelper
    • Counter
    • CounterList
    • CurrencyFunctions
    • CurrencyFunctions.CurrencyCodeEntry
    • CurrencyItem
    • DeactivateResponse
    • DefaultTerminalListener
    • DisplayProductInfo
    • EcrInfo
    • EndianReader
    • EndianReader.Endianness
    • ErrorMessages
    • Features
    • FeaturesHardware
    • FeaturesPayment
    • FeaturesPayment.AgeCheckSupport
    • FeaturesSixml
    • FeaturesSixml.Support
    • Hardware
    • HardwareInformationResponse
    • ImmutableTerminalSettings
    • InitTransactionResponse
    • ItemQuantity
    • KernelVersion
    • LoginRequest
    • LoyaltyCoupon
    • LoyaltyDiscount
    • LoyaltyInformation
    • LoyaltyItem
    • MerchantOption
    • MobileTopupData
    • MobileTopupValue
    • NativeError
    • NetworkInformation
    • PpInfo
    • PrintData
    • PrintOption
    • PrintOptionList
    • Receipt
    • ReceiptItem
    • ReceiptItems
    • ReceiptRequestResponse
    • ReconciliationResponse
    • RequestTypes
    • ScreenshotInformation
    • Setting
    • ShowDialogRequest
    • ShowDialogResponse
    • ShowSignatureCaptureRequest
    • ShowSignatureCaptureResponse
    • SignatureInformation
    • SIXmlConstants
    • SIXmlConstants.ResourceId
    • SubTransaction
    • SystemInformationResponse
    • Terminal
    • Terminal.ActivateCompletedEventArgs
    • Terminal.ActivateCompletedEventHandler
    • Terminal.ActivateServiceMenuCompletedEventArgs
    • Terminal.ActivateServiceMenuCompletedEventHandler
    • Terminal.AgeCheckCompletedEventArgs
    • Terminal.AgeCheckCompletedEventHandler
    • Terminal.ApplicationInformationCompletedEventArgs
    • Terminal.ApplicationInformationCompletedEventHandler
    • Terminal.BalanceCompletedEventArgs
    • Terminal.BalanceCompletedEventHandler
    • Terminal.BalanceInquiryCompletedEventArgs
    • Terminal.BalanceInquiryCompletedEventHandler
    • Terminal.ChangeSettingsCompletedEventArgs
    • Terminal.ChangeSettingsCompletedEventHandler
    • Terminal.ClientIdentificationCompletedEventArgs
    • Terminal.ClientIdentificationCompletedEventHandler
    • Terminal.CloseDialogModeCompletedEventArgs
    • Terminal.CloseDialogModeCompletedEventHandler
    • Terminal.CloseMaintenanceWindowCompletedEventArgs
    • Terminal.CloseMaintenanceWindowCompletedEventHandler
    • Terminal.CloseReaderCompletedEventArgs
    • Terminal.CloseReaderCompletedEventHandler
    • Terminal.CommitCompletedEventArgs
    • Terminal.CommitCompletedEventHandler
    • Terminal.ConnectCompletedHandler
    • Terminal.CounterRequestCompletedEventArgs
    • Terminal.CounterRequestCompletedEventHandler
    • Terminal.DccRatesCompletedEventArgs
    • Terminal.DccRatesCompletedEventHandler
    • Terminal.DeactivateCompletedEventArgs
    • Terminal.DeactivateCompletedEventHandler
    • Terminal.DeferredAuthEventHandler
    • Terminal.DeviceMaintenanceCompletedEventArgs
    • Terminal.DeviceMaintenanceCompletedEventHandler
    • Terminal.DisconnectedHandler
    • Terminal.EjectCardCompletedEventArgs
    • Terminal.EjectCardCompletedEventHandler
    • Terminal.ErrorNotificationHandler
    • Terminal.FinishCheckoutCompletedEventArgs
    • Terminal.FinishCheckoutCompletedEventHandler
    • Terminal.HardwareInformationCompletedEventArgs
    • Terminal.HardwareInformationCompletedEventHandler
    • Terminal.InitTransactionCompletedEventArgs
    • Terminal.InitTransactionCompletedEventHandler
    • Terminal.InitTransactionWithDialogCompletedEventArgs
    • Terminal.InitTransactionWithDialogCompletedEventHandler
    • Terminal.KeyPressedEventHandler
    • Terminal.KeyPressedNotificationArgs
    • Terminal.LicenseChangedEventHandler
    • Terminal.LoginCompletedEventArgs
    • Terminal.LoginCompletedEventHandler
    • Terminal.LogoutCompletedEventArgs
    • Terminal.LogoutCompletedEventHandler
    • Terminal.LoyaltyDataCompletedEventArgs
    • Terminal.LoyaltyDataCompletedEventHandler
    • Terminal.MobileTopupCompletedEventArgs
    • Terminal.MobileTopupCompletedEventHandler
    • Terminal.MobileTopupIssuerInfoCompletedEventArgs
    • Terminal.MobileTopupIssuerInfoCompletedEventHandler
    • Terminal.OpenDialogModeCompletedEventArgs
    • Terminal.OpenDialogModeCompletedEventHandler
    • Terminal.OpenMaintenanceWindowCompletedEventArgs
    • Terminal.OpenMaintenanceWindowCompletedEventHandler
    • Terminal.OpenReaderCompletedEventArgs
    • Terminal.OpenReaderCompletedEventHandler
    • Terminal.PrintOnTerminalCompletedEventArgs
    • Terminal.PrintOnTerminalCompletedEventHandler
    • Terminal.ProvideLoyaltyBasketCompletedEventArgs
    • Terminal.ProvideLoyaltyBasketCompletedEventHandler
    • Terminal.ProvideVasResultCompletedEventArgs
    • Terminal.ProvideVasResultCompletedEventHandler
    • Terminal.RebootCompletedEventArgs
    • Terminal.RebootCompletedEventHandler
    • Terminal.ReceiptRequestCompletedEventArgs
    • Terminal.ReceiptRequestCompletedEventHandler
    • Terminal.ReconciliationCompletedEventArgs
    • Terminal.ReconciliationCompletedEventHandler
    • Terminal.ReconfigCompletedEventArgs
    • Terminal.ReconfigCompletedEventHandler
    • Terminal.RequestAliasCompletedEventArgs
    • Terminal.RequestAliasCompletedEventHandler
    • Terminal.RequestCompletedEventArgs
    • Terminal.RollbackCompletedEventArgs
    • Terminal.RollbackCompletedEventHandler
    • Terminal.ScreenshotHandler
    • Terminal.SendCardCommandCompletedEventArgs
    • Terminal.SendCardCommandCompletedEventHandler
    • Terminal.ShowDialogCompletedEventArgs
    • Terminal.ShowDialogCompletedEventHandler
    • Terminal.ShowSignatureCaptureCompletedEventArgs
    • Terminal.ShowSignatureCaptureCompletedEventHandler
    • Terminal.SoftwareUpdateCompletedEventArgs
    • Terminal.SoftwareUpdateCompletedEventHandler
    • Terminal.StartCheckoutCompletedEventArgs
    • Terminal.StartCheckoutCompletedEventHandler
    • Terminal.SystemInformationCompletedEventArgs
    • Terminal.SystemInformationCompletedEventHandler
    • Terminal.TerminalStatusChangedHandler
    • Terminal.ThirdPartyAppDataHandler
    • Terminal.TransactionCompletedEventArgs
    • Terminal.TransactionCompletedEventHandler
    • Terminal.TransactionInfoRequestCompletedEventArgs
    • Terminal.TransactionInfoRequestCompletedEventHandler
    • Terminal.VasInfoHandler
    • TerminalListener
    • TerminalSettings
    • TerminalStatus
    • ThirdPartyAppPayload
    • TimEvent
    • TimException
    • Total
    • TransactionData
    • TransactionInfoRequestResponse
    • TransactionInformation
    • TransactionRequest
    • TransactionResponse
    • TransactionResponse.Action
    • TrxDetail
    • VasCheckoutInformation
    • VasInformationList
    • VasResult
  • SIX.TimApi.Constants
    • AccountType
    • AdditionalInfoItem
    • AdjustmentResult
    • AdminFunctions
    • AgeCheckResult
    • AllowedAccounts
    • BrandBarBrand
    • BrandMode
    • CardProductType
    • CardReader
    • CardReaderStatus
    • ConnectionMode
    • ConnectionStatus
    • CounterType
    • CouponRejectionReason
    • Currency
    • CurrencyType
    • CustomerDataType
    • Cvm
    • DialogFunctions
    • EcrInfoType
    • FinancialTransactions
    • FunctionHint
    • Guides
    • HardwareType
    • ImageFileFormat
    • KernelType
    • LoyaltyFunctionType
    • MaintenanceType
    • ManagementStatus
    • MerchantAction
    • MerchantOptionType
    • MobileTopupType
    • NgvMode
    • NonFinancialTransactions
    • Outcome
    • PaymentProtocol
    • PosEntryMode
    • PrintFlag
    • PrintFormat
    • ProcessingDisposition
    • ProtocolLevel
    • ProtocolType
    • Reason
    • ReceiptItemType
    • ReceiptRequestType
    • ReceiptType
    • Recipient
    • RemoteFunctions
    • ResourceId
    • ResourceParameterType
    • ResponseType
    • ResultCode
    • SecurityStatus
    • SettingType
    • SleepModeStatus
    • StatusFunctions
    • Theme
    • ThirdPartyAppId
    • ThirdPartyApps
    • TokenPanType
    • TransactionReason
    • TransactionStatus
    • TransactionType
    • UpdateStatus
    • VasInfoListType
    • VasInfoType
  • SIX.TimApi.Receipts
    • CompactReceiptFormatter
    • CustomReceiptFormatter
    • CustomReceiptFormatter.Condition
    • CustomReceiptFormatter.Counters
    • CustomReceiptFormatter.LineFormat
    • CustomReceiptFormatter.TextAlignment
    • CustomReceiptFormatter.TextElement
    • CustomReceiptFormatter.TextType
    • CustomReceiptFormatter.TranslatedText
    • DelegatableReceiptFormatter
    • NormalReceiptFormatter
    • RdfReceiptFormatter
    • ReceiptFormatter
    • SuperCompactReceiptFormatter
    • UltraCompactReceiptFormatter
  • SIX.TimApi.Utility.Logger
    • Level
    • Logger
    • Logger.ArchiveMode
    • Logger.CodeBlock
    • Logger.CodeBlock<T>
    • LogRecord

Class Logger

Inheritance
System.Object
Logger
Namespace: SIX.TimApi.Utility.Logger
Assembly: TimApi.dll
Syntax
public class Logger : object

Fields

LogFilePrefix

Declaration
public readonly string LogFilePrefix
Field Value
Type Description
System.String

LoggerLogDir

Declaration
public readonly string LoggerLogDir
Field Value
Type Description
System.String

LoggerLogFileCountPerArchive

Declaration
public readonly int LoggerLogFileCountPerArchive
Field Value
Type Description
System.Int32

LoggerLogLevel

Declaration
public Level LoggerLogLevel
Field Value
Type Description
Level

LoggerLogRetainArchiveCount

Declaration
public readonly int LoggerLogRetainArchiveCount
Field Value
Type Description
System.Int32

LoggerLogRetainFileCount

Declaration
public readonly int LoggerLogRetainFileCount
Field Value
Type Description
System.Int32

Name

Declaration
public readonly string Name
Field Value
Type Description
System.String

Properties

LogDir

Declaration
public static string LogDir { get; set; }
Property Value
Type Description
System.String

LogRetainArchiveCount

Declaration
public static int LogRetainArchiveCount { get; set; }
Property Value
Type Description
System.Int32

Methods

ArchiveLogsInZip(Logger.ArchiveMode)

Declaration
public static bool ArchiveLogsInZip(Logger.ArchiveMode am)
Parameters
Type Name Description
Logger.ArchiveMode am
Returns
Type Description
System.Boolean

Dispose()

Declaration
public static void Dispose()

entering(String, String)

Declaration
public void entering(string sourceClass, string sourceMethod)
Parameters
Type Name Description
System.String sourceClass
System.String sourceMethod

entering(String, String, Object[])

Declaration
public void entering(string sourceClass, string sourceMethod, params object[] parameters)
Parameters
Type Name Description
System.String sourceClass
System.String sourceMethod
System.Object[] parameters

exception(String, Exception)

Declaration
public void exception(string message, Exception thrown)
Parameters
Type Name Description
System.String message
Exception thrown

exiting(String, String)

Declaration
public void exiting(string sourceClass, string sourceMethod)
Parameters
Type Name Description
System.String sourceClass
System.String sourceMethod

exiting(String, String, Object)

Declaration
public void exiting(string sourceClass, string sourceMethod, object result)
Parameters
Type Name Description
System.String sourceClass
System.String sourceMethod
System.Object result

Flush()

Declaration
public static void Flush()

FlushLogs()

Declaration
public static void FlushLogs()

getLogger(String)

Declaration
public static Logger getLogger(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
Logger

info(String)

Declaration
public void info(string message)
Parameters
Type Name Description
System.String message

Init()

Declaration
public static void Init()

isLoggable(Level)

Declaration
public bool isLoggable(Level level)
Parameters
Type Name Description
Level level
Returns
Type Description
System.Boolean

LevelFromString(String)

Declaration
public static Level LevelFromString(string s)
Parameters
Type Name Description
System.String s
Returns
Type Description
Level

log(Level, Byte[], Int32)

Declaration
public void log(Level level, byte[] data, int size)
Parameters
Type Name Description
Level level
System.Byte[] data
System.Int32 size

log(Level, String)

Declaration
public void log(Level level, string message)
Parameters
Type Name Description
Level level
System.String message

log(Level, String, Exception)

Declaration
public void log(Level level, string message, Exception thrown)
Parameters
Type Name Description
Level level
System.String message
Exception thrown

log(Level, String, Byte[], Int32)

Declaration
public void log(Level level, string s, byte[] data, int size)
Parameters
Type Name Description
Level level
System.String s
System.Byte[] data
System.Int32 size

log(Level, String, String)

Declaration
public void log(Level level, string message, string message1)
Parameters
Type Name Description
Level level
System.String message
System.String message1

log(Level, String, String[])

Declaration
public void log(Level level, string message, string[] parameters)
Parameters
Type Name Description
Level level
System.String message
System.String[] parameters

LogMethod(String, String, Level, Logger.CodeBlock, Object[])

Declaration
public void LogMethod(string classname, string methodname, Level levelException, Logger.CodeBlock code, params object[] parameters)
Parameters
Type Name Description
System.String classname
System.String methodname
Level levelException
Logger.CodeBlock code
System.Object[] parameters

LogMethod(String, String, Logger.CodeBlock, Object[])

Declaration
public void LogMethod(string classname, string methodname, Logger.CodeBlock code, params object[] parameters)
Parameters
Type Name Description
System.String classname
System.String methodname
Logger.CodeBlock code
System.Object[] parameters

LogMethod<T>(String, String, Level, Logger.CodeBlock<T>, Object[])

Declaration
public T LogMethod<T>(string classname, string methodname, Level levelException, Logger.CodeBlock<T> code, params object[] parameters)
Parameters
Type Name Description
System.String classname
System.String methodname
Level levelException
Logger.CodeBlock<T> code
System.Object[] parameters
Returns
Type Description
T
Type Parameters
Name Description
T

LogMethod<T>(String, String, Logger.CodeBlock<T>, Object[])

Declaration
public T LogMethod<T>(string classname, string methodname, Logger.CodeBlock<T> code, params object[] parameters)
Parameters
Type Name Description
System.String classname
System.String methodname
Logger.CodeBlock<T> code
System.Object[] parameters
Returns
Type Description
T
Type Parameters
Name Description
T

PrintThreadProc()

Declaration
public static void PrintThreadProc()

PrintToFile(String)

Declaration
public static void PrintToFile(string s)
Parameters
Type Name Description
System.String s

SetLevel(String, String)

Declaration
public static void SetLevel(string module, string sNewLevel)
Parameters
Type Name Description
System.String module
System.String sNewLevel
Back to top Worldline AG