Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix typo in comment. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
1081102b1e0dbbeed9274ee8fae64886 |
User & Date: | mistachkin 2011-07-11 19:43:53 |
Context
2011-07-11
| ||
21:03 | Add initial unit testing docs. check-in: a651466562 user: mistachkin tags: trunk | |
19:43 | Fix typo in comment. check-in: 1081102b1e user: mistachkin tags: trunk | |
19:40 | Refactor the logging interface to be thread-safe and 'self-initializing'. Stop ignoring errors returned by sqlite3_config(SQLITE_CONFIG_LOG). Provide a default log handler and allow it to be added/removed dynamically. Allow logging to be temporarily enabled/disabled without modifying the underlying delegates. check-in: 1d955a6031 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLiteLog.cs.
233 233 234 234 if (enabled && (handlers != null)) 235 235 handlers(null, new LogEventArgs(pUserData, errorCode, 236 236 SQLiteBase.UTF8ToString(pMessage, -1), null)); 237 237 } 238 238 239 239 /// <summary> 240 - /// Default logger. Currently, uses the NT Event Log. 240 + /// Default logger. Currently, uses the Trace class (i.e. sends events 241 + /// to the current trace listeners, if any). 241 242 /// </summary> 242 243 /// <param name="sender">Should be null.</param> 243 244 /// <param name="e">The data associated with this event.</param> 244 245 private static void LogEventHandler( 245 246 object sender, 246 247 LogEventArgs e 247 248 )