Tabnine Logo
SLF4JLogFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
SLF4JLogFactory
in
quickfix

Best Java code snippets using quickfix.SLF4JLogFactory (Showing top 9 results out of 315)

origin: quickfix-j/quickfixj

public Log create(SessionID sessionID) {
  // it's actually code in AbstractLog that makes the final code to Log4J and not SLF4JLog itself
  // so send the AbstractLog here
  return create(sessionID, AbstractLog.class.getName());
}
origin: mattdavey/EuronextClone

public FixClient(final SessionSettings settings) throws ConfigError {
  MessageStoreFactory messageStoreFactory = new FileStoreFactory(settings);
  SLF4JLogFactory logFactory = new SLF4JLogFactory(settings);
  MessageFactory messageFactory = new DefaultMessageFactory();
  socketInitiator = new SocketInitiator(this, messageStoreFactory, settings, logFactory, messageFactory);
}
origin: kpavlov/fixio

public QuickFixServer() throws ConfigError {
  SessionSettings settings = new SessionSettings(getClass().getResourceAsStream("/quickfix/quickfix-server.properties"));
  MessageStoreFactory storeFactory = new MemoryStoreFactory();
  LogFactory logFactory = new SLF4JLogFactory(settings);
  MessageFactory messageFactory = new DefaultMessageFactory();
  Application application = new QuickFixStreamingApp(quoteQueue);
  acceptor = new SocketAcceptor(application, storeFactory, settings, logFactory, messageFactory);
}
origin: org.quickfixj/quickfixj-all

public Log create(SessionID sessionID) {
  // it's actually code in AbstractLog that makes the final code to Log4J and not SLF4JLog itself
  // so send the AbstractLog here
  return create(sessionID, AbstractLog.class.getName());
}
origin: mattdavey/EuronextClone

public FixServer(final SessionSettings settings, final Publisher orderPublisher) throws ConfigError {
  this.orderPublisher = orderPublisher;
  MessageStoreFactory messageStoreFactory = new FileStoreFactory(settings);
  SLF4JLogFactory logFactory = new SLF4JLogFactory(settings);
  MessageFactory messageFactory = new DefaultMessageFactory();
  socketAcceptor = new SocketAcceptor(this, messageStoreFactory, settings, logFactory, messageFactory);
  sessionByBroker = new HashMap<String, SessionID>();
  matchingUnit = new MatchingUnit("MSFT");
  matchingUnit.register(this);
  matchingUnit.setTradingMode(TradingMode.Continuous);
  matchingUnit.setTradingPhase(TradingPhase.CoreContinuous);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

public Log create(SessionID sessionID) {
  // it's actually code in AbstractLog that makes the final code to Log4J and not SLF4JLog itself
  // so send the AbstractLog here
  return create(sessionID, AbstractLog.class.getName());
}
origin: org.marketcetera/core

@Override
public ObservableLog create()
{
  unqualifiedLog = new ObservableLog(super.create());
  return unqualifiedLog;
}
/* (non-Javadoc)
origin: org.marketcetera/core

@Override
public Log create(SessionID inSessionId)
{
  ObservableLog log = new ObservableLog(super.create(inSessionId));
  logsBySessionId.put(inSessionId,
            log);
  return log;
}
/**
origin: org.marketcetera/core

@Override
public Log create(SessionID inSessionId,
         String inCallerName)
{
  ObservableLog log = new ObservableLog(super.create(inSessionId,
                            inCallerName));
  logsByFullyQualifiedSessionId.put(getKey(inSessionId,
                       inCallerName),
                   log);
  return log;
}
/* (non-Javadoc)
quickfixSLF4JLogFactory

Javadoc

Simple Logging Facade for Java (SLF4J) log factory (slfj.org).

Most used methods

  • create
    This supports use of this log in a CompositeLogFactory.
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now