00001 00012 /* 00013 00014 Copyright (c) 2007, Tim Burrell 00015 Licensed under the Apache License, Version 2.0 (the "License"); 00016 you may not use this file except in compliance with the License. 00017 You may obtain a copy of the License at 00018 00019 http://www.apache.org/licenses/LICENSE-2.0 00020 00021 Unless required by applicable law or agreed to in writing, software 00022 distributed under the License is distributed on an "AS IS" BASIS, 00023 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00024 See the License for the specific language governing permissions and 00025 limitations under the License. 00026 00027 */ 00028 00029 #include "Debug.hpp" 00030 00032 // Globals 00034 00035 bool H::Debug::mDebug = false; 00036 int H::Debug::mVerbosity = 0; 00037 std::ofstream H::Debug::mLogFile; 00038 std::string H::Debug::mLogPath; 00039 bool H::Debug::mLogToFile = false; 00040 00042 // Type Defs 00044 00046 // Construction 00048 00052 H::Debug::Debug(int ThisVerbosity) { 00053 mThisVerbosity = ThisVerbosity; 00054 } 00055 00059 H::Debug::~Debug() { 00060 } 00061 00063 // Class Body