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
    • CommandRequest
    • CommandResponse
    • ConfigData
    • ConversionHelper
    • Counter
    • CounterList
    • CurrencyFunctions
    • CurrencyFunctions.CurrencyCodeEntry
    • CurrencyItem
    • DeactivateResponse
    • DisplayProductInfo
    • EcrInfo
    • ErrorMessages
    • Features
    • FeaturesHardware
    • FeaturesPayment
    • FeaturesSixml
    • FeaturesSixml.Support
    • Hardware
    • HardwareInformationResponse
    • ImmutableTerminalSettings
    • InitTransactionResponse
    • ItemQuantity
    • KernelVersion
    • LoginRequest
    • LoyaltyCoupon
    • LoyaltyDiscount
    • LoyaltyInformation
    • LoyaltyItem
    • MerchantOption
    • 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.ApplicationInformationCompletedEventArgs
    • Terminal.ApplicationInformationCompletedEventHandler
    • Terminal.BalanceCompletedEventArgs
    • Terminal.BalanceCompletedEventHandler
    • Terminal.BalanceInquiryCompletedEventArgs
    • Terminal.BalanceInquiryCompletedEventHandler
    • Terminal.ChangeSettingsCompletedEventArgs
    • Terminal.ChangeSettingsCompletedEventHandler
    • 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.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.TransactionCompletedEventArgs
    • Terminal.TransactionCompletedEventHandler
    • Terminal.VasInfoHandler
    • TerminalSettings
    • TerminalStatus
    • TimException
    • Total
    • TransactionData
    • TransactionInformation
    • TransactionRequest
    • TransactionResponse
    • TransactionResponse.Action
    • TrxDetail
    • VasCheckoutInformation
    • VasResult
  • SIX.TimApi.Constants
    • AdjustmentResult
    • AdminFunctions
    • BrandBarBrand
    • BrandMode
    • CardProductType
    • CardReader
    • CardReaderStatus
    • ConnectionMode
    • ConnectionStatus
    • CounterType
    • CouponRejectionReason
    • CurrencyType
    • CustomerDataType
    • Cvm
    • DialogFunctions
    • EcrInfoType
    • FinancialTransactions
    • FunctionHint
    • Guides
    • HardwareType
    • ImageFileFormat
    • KernelType
    • LoyaltyFunctionType
    • MaintenanceType
    • ManagementStatus
    • MerchantAction
    • MerchantOptionType
    • NgvMode
    • NonFinancialTransactions
    • PaymentProtocol
    • PosEntryMode
    • PrintFlag
    • PrintFormat
    • ProcessingDisposition
    • ProtocolLevel
    • ProtocolType
    • Reason
    • ReceiptItemType
    • ReceiptRequestType
    • ReceiptType
    • Recipient
    • RemoteFunctions
    • ResourceId
    • ResourceParameterType
    • ResponseType
    • ResultCode
    • SecurityStatus
    • SettingType
    • SleepModeStatus
    • StatusFunctions
    • Theme
    • TransactionReason
    • TransactionStatus
    • TransactionType
    • UpdateStatus
    • VasInfoListType
    • VasInfoType
  • SIX.TimApi.Receipts
    • CompactReceiptFormatter
    • CustomReceiptFormatter
    • CustomReceiptFormatter.Condition
    • CustomReceiptFormatter.DynamicBoolean
    • CustomReceiptFormatter.LineFormat
    • CustomReceiptFormatter.TextAlignment
    • CustomReceiptFormatter.TextElement
    • CustomReceiptFormatter.TextType
    • NormalReceiptFormatter
    • ReceiptFormatter
    • SuperCompactReceiptFormatter
    • UltraCompactReceiptFormatter
  • SIX.TimApi.Utility.Logger
    • Level
    • Logger
    • Logger.ArchiveMode
    • Logger.CodeBlock
    • Logger.CodeBlock<T>

Class Logger

Inheritance
System.Object
Logger
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIX.TimApi.Utility.Logger
Assembly: TimApi.dll
Syntax
public class Logger

Properties

LogDir

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

LogRetainArchiveCount

Number of log file archives to keep before deleting them. Use 0 to disable delete

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

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 void flush()

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 msg)
Parameters
Type Name Description
System.String msg

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

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 msg)
Parameters
Type Name Description
Level level
System.String msg

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, Exception)

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

log(Level, String, String)

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

log(Level, String, String[])

Declaration
public void log(Level level, string msg, string[] parameters)
Parameters
Type Name Description
Level level
System.String msg
System.String[] 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, 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(Level)

Declaration
public void setLevel(Level newLevel)
Parameters
Type Name Description
Level newLevel

SetLevel(String, String)

Declaration
public static void SetLevel(string module, string sNewLevel)
Parameters
Type Name Description
System.String module
System.String sNewLevel

throwexit(String, String)

Declaration
public void throwexit(string sourceClass, string sourceMethod)
Parameters
Type Name Description
System.String sourceClass
System.String sourceMethod
Back to top SIX Payment Services AG