APISonar


de.lanlab.larm.util.SimpleLogger.log

> de > lanlab > larm > util > SimpleLogger > log
de APIs lanlab APIs larm APIs util APIs SimpleLogger APIs log APIs

Example 1
private SimpleLogger log;

    public Collection storeLinks(Collection c)
    {
        synchronized (log)
        {
            for (Iterator it = c.iterator(); it.hasNext(); )
            {
                log.log(((URLMessage) it.next()).getInfo());
            }
        }
        return c;
    }
Example 2
volatile SimpleLogger log;

    public void handleBase(String base)
    {
        try
        {
            this.base = new URL(base);
        }
        catch (MalformedURLException e)
        {
            log.log("warning: " + e.getClass().getName() + ": " + e.getMessage() + " while converting '" + base + "' to URL in document " + contextUrl);
        }
    }
Example 3
volatile SimpleLogger log;

    public void fatal(String message, String systemID, int line, int column)
        throws Exception
    {
        System.out.println("fatal error: " + message);
        log.log("fatal error: " + message);
    }