Print the message.

This method simply prints to {@link android.util.Log}. Override this to use the log level
feature and post to your endpoint.

@param priority The message priority to print.
@param msg The message to print.
961188
protected void println(int priority, String msg) {
    Log.println(priority, processTag(packageName), processMessage(msg));
  }
118680
protected function log($message, $priority = LogLevel::INFO, $parameters = array())
    {
        Dispatcher::getInstance()->dispatch(
            'system.log',
            LogEvent::createInstance($this)
                ->setContext($parameters)
                ->setMessage($message)
                ->setPriority($priority)
        );
    }
1076580
public void log(final Priority priority, final Object message, final Throwable t) {
		provider.log(STACKTRACE_DEPTH, null, translatePriority(priority), t, message == t ? null : message, (Object[]) null);
	}
426812
public void log( final Priority priority, final Object message, final Throwable t )
    {
        if ( priority == null )
        {
            return;
        }

        switch (priority.level)
        {
            case Level.FATAL_INT:
                this.fatal( message, t );
                break;
            case Level.ERROR_INT:
                this.error( message, t );
                break;
            case Level.WARN_INT:
                this.warn( message, t );
                break;
            case Level.INFO_INT:
                this.info( message, t );
                break;
            case Level.DEBUG_INT:
                this.debug( message, t );
                break;
            case Level.TRACE_INT:
            case Level.ALL_INT:
                this.trace( message, t );
                break;
            default:
                break;
        }
    }
636413
public void log(String msg) {
        if (theLog != null) {
            theLog.println(msg);
        } else {
            System.err.println(msg);
        }
    }
733973
public void log(Level level, String msg) {
		logIfEnabled(level, null, msg, UNKNOWN_ARG, UNKNOWN_ARG, UNKNOWN_ARG, null);
	}
1296025
@Override
  protected void deliverLog(String msg)
  {
    synchronized (_os) {
      try {
        _os.print(msg);
      } catch (Exception e) {
        e.printStackTrace();
      }
    }
  }
668138
@Override
    public void log(String msg) {
        verifySystemOut();
        PrintStream printStream = out;
        try {
            if (userInputActive) {
                erasePrompt(printStream);
            }
            if (msg.endsWith(LINE_SEPARATOR)) {
                printStream.print(msg);
            } else {
                printStream.println(msg);
            }
            cursorMove = 0;
        } finally {
            printStream.flush();
            postPrintMessage();
        }
    }
825504
public static void printInfo(Object caller, Object message)
	{
		
		StringBuilder text = new StringBuilder();

		Class<?> c = callerBuilder(caller, text);

		if(message instanceof Throwable)
			getLog(c).info(text.append(stackTrace((Throwable)message)));
		else
			getLog(c).info(text.append(message));

	}
950367
public void printNotice(SourcePosition pos, String msg) {
        if (silent || quiet)
            return;
        messager.printNotice(pos, msg);
    }
1274101
public void log(String FQCN, Priority p, Object msg, Throwable t) {
        int levelInt = priorityToLevelInt(p);
        differentiatedLog(null, FQCN, levelInt, msg, t);
    }
357038
public void trace(String msg) {
		logIfEnabled(Level.TRACE, null, msg, UNKNOWN_ARG, UNKNOWN_ARG, UNKNOWN_ARG, null);
	}
525045
public static void printFatal(Object message)
	{

		if (message instanceof Throwable)
		{
			Throwable e = (Throwable) message;
			e.printStackTrace();
		}

		Log log = getLog(Debugger.class);
		if(log != null)
			log.fatal(message);
		else
			System.err.println(message);
		
	}
852808
public void info(final String msg) {
        if (proxy.isInfoEnabled()) {
            if (proxy instanceof LocationAwareLogger) {
                ((LocationAwareLogger) proxy).log(null, FQCN, LocationAwareLogger.INFO_INT, msg, null, null);
            } else {
                proxy.info(msg);
            }
        }
    }
286762
private function log($priority, $msg, $fileHandle = null)
    {
        if ($priority[0] < $this->logLevel && $fileHandle === null) {
            return;
        }

        $logTime = time();

        $this->logQueue[] = new Logger\Message($priority[1], $logTime, $msg);

        /* ensure the output messages line up vertically */
        $prioritystr = '['.$priority[1].']';
        $timestr = '['.date('Y-m-d H:i:s - T', $logTime).']';
        while (strlen($prioritystr) < 7) {
            $prioritystr .= ' ';
        }
        $message = $prioritystr.'  '.$timestr.' '.$msg."\n";
        $message = getmypid().': '.$message;

        if (defined('STDERR')) {
            fputs(STDERR, getmypid().': '.$prioritystr.'  '.$msg."\n");
        } else {
            echo '<!-- LogMessage: '.$message." -->\n";
        }

        if ($this->file != null) {
            if ($fileHandle !== null) {
                fputs($fileHandle, $message);
            } else {
                error_log($message, 3, $this->file);
            }
        } elseif ($fileHandle !== null) {
            fputs($fileHandle, $message);
        }

        if (count($this->logQueue) > $this->max) {
            $this->flush();
        }
    }
1316674
public void w(String msg, Throwable tr) {
    println(LogLevel.WARN, msg, tr);
  }
454493
public static void printVerboseMessage(final String message, final Logger logger) {
        try {
            if (JPService.getProperty(JPVerbose.class).getValue()) {
                logger.info(message);
            } else {
                logger.debug(message);
            }
        } catch (final JPServiceException ex) {
            logger.info(message);
            ExceptionPrinter.printHistory("Could not access verbose java property!", ex, logger);
        }
    }