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

How to use
Log
in
openllet.shared.tools

Best Java code snippets using openllet.shared.tools.Log (Showing top 20 results out of 315)

origin: com.github.galigator.openllet/openllet-owlapi

@Override
public boolean hasNext()
{
  try
  {
    return _in.ready();
  }
  catch (final IOException e)
  {
    Log.error(_logger, e);
    return false;
  }
}
origin: com.github.galigator.openllet/openllet-owlapi

Log.error(_logger, exception);
Log.warning(_logger, exception);
Log.warning(_logger, exception);
origin: Galigator/openllet

public static org.slf4j.Logger logger(final String name, final Level specificLevel)
{
  return toSlf4j(config(Logger.getLogger(name), specificLevel));
}
origin: Galigator/openllet

public static final Logger _logger = Log.getLogger(AbstractModuleExtractor.class);
origin: Galigator/openllet

public static Logger getLogger(final String name, final Level specificLevel)
{
  return config(Logger.getLogger(name), specificLevel);
}
origin: Galigator/openllet

public static void setLevel(final Level level, final Class<?> type)
{
  setLevel(level, type.getSimpleName());
}
origin: Galigator/openllet

public static final Logger _logger = Log.getLogger(AbstractModuleExtractor.class);
origin: Galigator/openllet

public static Logger getLogger(final String name)
{
  return config(Logger.getLogger(name), _defaultLevel);
}
origin: Galigator/openllet

@Override
public boolean hasNext()
{
  try
  {
    return _in.ready();
  }
  catch (final IOException e)
  {
    Log.error(_logger, e);
    return false;
  }
}
origin: Galigator/openllet

Log.error(_logger, exception);
Log.warning(_logger, exception);
Log.warning(_logger, exception);
origin: Galigator/openllet

final Logger xsdDecimalLogger = Log.getLogger(XSDDecimal.class);
final Filter newFilter = record ->
origin: Galigator/openllet

public static org.slf4j.Logger logger(final String name)
{
  return toSlf4j(config(Logger.getLogger(name), _defaultLevel));
}
origin: Galigator/openllet

public static Logger getLogger(final Class<?> type)
{
  return config(Logger.getLogger(type.getSimpleName()), _defaultLevel);
}
origin: Galigator/openllet

@Override
public boolean hasNext()
{
  try
  {
    return _in.ready();
  }
  catch (final IOException e)
  {
    Log.error(_logger, e);
    return false;
  }
}
origin: Galigator/openllet

Log.error(_logger, exception);
Log.warning(_logger, exception);
Log.warning(_logger, exception);
origin: Galigator/openllet

public static org.slf4j.Logger logger(final Class<?> type)
{
  return toSlf4j(config(Logger.getLogger(type.getSimpleName()), _defaultLevel));
}
origin: Galigator/openllet

public static Logger getLogger(final Class<?> type, final Level specificLevel)
{
  return config(Logger.getLogger(type.getSimpleName()), specificLevel);
}
origin: Galigator/openllet

public static String getCurrentMethodName_Main(final int depth)
{
  try
  {
    final StackTraceElement element = (StackTraceElement) _m.invoke(new Throwable(), depth + 1);
    return element.getMethodName();
  }
  catch (final Exception e) // 3 exceptions. 
  {
    Log.error(_logger, e);
    return "";
  }
}
origin: Galigator/openllet

public static org.slf4j.Logger logger(final Class<?> type, final Level specificLevel)
{
  return toSlf4j(config(Logger.getLogger(type.getSimpleName()), specificLevel));
}
origin: Galigator/openllet

/**
 * Forces the writing of all buffered data.
 *
 * @see Writer#flush()
 */
@Override
public void flush()
{
  try
  {
    _stream.write(_buffer, 0, _bufferPos);
    _bufferPos = 0;
    _stream.flush();
  }
  catch (final IOException ioex)
  {
    _failures = true;
    Log.error(_logger, ioex);
  }
}
openllet.shared.toolsLog

Javadoc

Define logger and configure _log level.

Most used methods

  • error
  • getLogger
  • warning
  • config
  • setLevel
  • toSlf4j

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • 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