equal
deleted
inserted
replaced
410 * the logging stream. If a <code>SecurityManager</code> exists and its |
410 * the logging stream. If a <code>SecurityManager</code> exists and its |
411 * <code>checkPermission</code> method denies setting the log writer, this |
411 * <code>checkPermission</code> method denies setting the log writer, this |
412 * method throws a <code>java.lang.SecurityException</code>. |
412 * method throws a <code>java.lang.SecurityException</code>. |
413 * |
413 * |
414 * @param out the new logging/tracing PrintStream; to disable, set to <code>null</code> |
414 * @param out the new logging/tracing PrintStream; to disable, set to <code>null</code> |
415 * @deprecated Use {@code setLogWriter) |
415 * @deprecated Use {@code setLogWriter} |
416 * @throws SecurityException if a security manager exists and its |
416 * @throws SecurityException if a security manager exists and its |
417 * <code>checkPermission</code> method denies setting the log stream |
417 * <code>checkPermission</code> method denies setting the log stream |
418 * |
418 * |
419 * @see SecurityManager#checkPermission |
419 * @see SecurityManager#checkPermission |
420 * @see #getLogStream |
420 * @see #getLogStream |
437 /** |
437 /** |
438 * Retrieves the logging/tracing PrintStream that is used by the <code>DriverManager</code> |
438 * Retrieves the logging/tracing PrintStream that is used by the <code>DriverManager</code> |
439 * and all drivers. |
439 * and all drivers. |
440 * |
440 * |
441 * @return the logging/tracing PrintStream; if disabled, is <code>null</code> |
441 * @return the logging/tracing PrintStream; if disabled, is <code>null</code> |
442 * @deprecated Use {@code getLogWriter) |
442 * @deprecated Use {@code getLogWriter} |
443 * @see #setLogStream |
443 * @see #setLogStream |
444 */ |
444 */ |
445 @Deprecated |
445 @Deprecated |
446 public static java.io.PrintStream getLogStream() { |
446 public static java.io.PrintStream getLogStream() { |
447 return logStream; |
447 return logStream; |