Rev | Line | |
---|
[18220] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2009 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 6 | * |
---|
| 7 | * http://www.lockon.co.jp/ |
---|
| 8 | * |
---|
| 9 | * This program is free software; you can redistribute it and/or |
---|
| 10 | * modify it under the terms of the GNU General Public License |
---|
| 11 | * as published by the Free Software Foundation; either version 2 |
---|
| 12 | * of the License, or (at your option) any later version. |
---|
| 13 | * |
---|
| 14 | * This program is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU General Public License |
---|
| 20 | * along with this program; if not, write to the Free Software |
---|
| 21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 22 | */ |
---|
| 23 | |
---|
| 24 | /** |
---|
| 25 | * logインタフェース |
---|
| 26 | * |
---|
| 27 | * サブクラスでロギングを実装する |
---|
| 28 | * |
---|
| 29 | * @package Logger |
---|
| 30 | * @author LOCKON CO.,LTD. |
---|
| 31 | * @version $Id$ |
---|
| 32 | */ |
---|
| 33 | |
---|
| 34 | class GC_Log_Interface { |
---|
| 35 | /** |
---|
| 36 | * DEBUGログ |
---|
| 37 | * |
---|
| 38 | * @param string 出力したいログ |
---|
| 39 | * @return void |
---|
| 40 | * |
---|
| 41 | */ |
---|
| 42 | function gfDebug($log) { |
---|
| 43 | die('gfDebugメソッドを実装してください。'); |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | /** |
---|
| 47 | * INFOログ |
---|
| 48 | * |
---|
| 49 | * @param string 出力したいログ |
---|
| 50 | * @return void |
---|
| 51 | * |
---|
| 52 | */ |
---|
| 53 | function gfInfo($log) { |
---|
| 54 | die('gfInfoを実装してください。'); |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | /** |
---|
| 58 | * WARNログ |
---|
| 59 | * |
---|
| 60 | * @param string 出力したいログ |
---|
| 61 | * @return void |
---|
| 62 | * |
---|
| 63 | */ |
---|
| 64 | function gfWarn($log) { |
---|
| 65 | die('gfWarnを実装してください。'); |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | /** |
---|
| 69 | * ERRORログ |
---|
| 70 | * |
---|
| 71 | * @param string 出力したいログ |
---|
| 72 | * @return void |
---|
| 73 | * |
---|
| 74 | */ |
---|
| 75 | function gfError($log) { |
---|
| 76 | die('gfErrorを実装してください。'); |
---|
| 77 | } |
---|
| 78 | |
---|
| 79 | /** |
---|
| 80 | * FATALログ |
---|
| 81 | * |
---|
| 82 | * @param string 出力したいログ |
---|
| 83 | * @return void |
---|
| 84 | * |
---|
| 85 | */ |
---|
| 86 | function gfFatal($log) { |
---|
| 87 | die('gfFatalを実装してください。'); |
---|
| 88 | } |
---|
| 89 | } |
---|
| 90 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.