aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.DB4o
diff options
context:
space:
mode:
authorJeff Ames2008-02-05 19:44:27 +0000
committerJeff Ames2008-02-05 19:44:27 +0000
commit6ed5283bc06a62f38eb517e67b975832b603bf61 (patch)
treee5f635018789b73a99ddeca0883a68368fa5eece /OpenSim/Framework/Data.DB4o
parentCut down on the number of packets sent during terraforming. Terraforming shou... (diff)
downloadopensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.zip
opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.gz
opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.bz2
opensim-SC_OLD-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.xz
Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
Diffstat (limited to 'OpenSim/Framework/Data.DB4o')
-rw-r--r--OpenSim/Framework/Data.DB4o/DB4oUserData.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
index 6059cbe..35a3635 100644
--- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
+++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
@@ -37,6 +37,8 @@ namespace OpenSim.Framework.Data.DB4o
37 /// </summary> 37 /// </summary>
38 public class DB4oUserData : IUserData 38 public class DB4oUserData : IUserData
39 { 39 {
40 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
41
40 /// <summary> 42 /// <summary>
41 /// The database manager 43 /// The database manager
42 /// </summary> 44 /// </summary>
@@ -143,22 +145,22 @@ namespace OpenSim.Framework.Data.DB4o
143 145
144 public void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) 146 public void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms)
145 { 147 {
146 //MainLog.Instance.Verbose("FRIEND", "Stub AddNewUserFriend called"); 148 //m_log.Info("[FRIEND]: Stub AddNewUserFriend called");
147 } 149 }
148 150
149 public void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) 151 public void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend)
150 { 152 {
151 //MainLog.Instance.Verbose("FRIEND", "Stub RemoveUserFriend called"); 153 //m_log.Info("[FRIEND]: Stub RemoveUserFriend called");
152 } 154 }
153 public void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms) 155 public void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms)
154 { 156 {
155 //MainLog.Instance.Verbose("FRIEND", "Stub UpdateUserFriendPerms called"); 157 //m_log.Info("[FRIEND]: Stub UpdateUserFriendPerms called");
156 } 158 }
157 159
158 160
159 public List<FriendListItem> GetUserFriendList(LLUUID friendlistowner) 161 public List<FriendListItem> GetUserFriendList(LLUUID friendlistowner)
160 { 162 {
161 //MainLog.Instance.Verbose("FRIEND", "Stub GetUserFriendList called"); 163 //m_log.Info("[FRIEND]: Stub GetUserFriendList called");
162 return new List<FriendListItem>(); 164 return new List<FriendListItem>();
163 } 165 }
164 166
@@ -166,7 +168,7 @@ namespace OpenSim.Framework.Data.DB4o
166 168
167 public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) 169 public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid)
168 { 170 {
169 //MainLog.Instance.Verbose("USER", "Stub UpdateUserCUrrentRegion called"); 171 //m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called");
170 } 172 }
171 173
172 174