01: /*
02: * ====================================================================
03: * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12: package org.tmatesoft.svn.util;
13:
14: import org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger;
15:
16: /**
17: * @version 1.1.1
18: * @author TMate Software Ltd.
19: */
20: public class SVNDebugLog {
21:
22: private static ISVNDebugLog ourDefaultLog;
23:
24: public static void setDefaultLog(ISVNDebugLog log) {
25: ourDefaultLog = log;
26: }
27:
28: public static ISVNDebugLog getDefaultLog() {
29: if (ourDefaultLog == null) {
30: ourDefaultLog = new DefaultSVNDebugLogger();
31: }
32: return ourDefaultLog;
33: }
34: }
|