Provides global logging for this builder.
Public Member Functions | |
| Log (OnLog onLogged) | |
| Creates a new logger. More... | |
| void | Add (object obj) |
| Adds the given object to the log. Simply a helper; ToString is called on the object. More... | |
| void | Add (string text) |
| Adds the given text message to the log. More... | |
Public Attributes | |
| bool | Quiet =false |
| Set this to true if no logging should occur. More... | |
| string | LogFile =null |
| The path to the file that logging will be directed to. More... | |
| FileStream | LogFileStream =null |
| A filestream used when logging is directed at a file. More... | |
Events | |
| OnLog | OnLogged =null |
| Called when logging is active and it's not being logged to a file. More... | |
|
inline |
Creates a new logger.
| onLogged | The method to call when logging is active and it's not being logged to a file. |
|
inline |
Adds the given object to the log. Simply a helper; ToString is called on the object.
| obj | The object to log. |
|
inline |
Adds the given text message to the log.
| text | The message to log. |
| string SPABuilder.Log.LogFile =null |
The path to the file that logging will be directed to.
| FileStream SPABuilder.Log.LogFileStream =null |
A filestream used when logging is directed at a file.
| bool SPABuilder.Log.Quiet =false |
Set this to true if no logging should occur.
| OnLog SPABuilder.Log.OnLogged =null |
Called when logging is active and it's not being logged to a file.