MooshLogger Constructor (String, Boolean) |
Initializes the logger, with a designated output filename.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Logger(
string filename,
bool append = true
)
Public Sub New (
filename As String,
Optional append As Boolean = true
)
public:
Logger(
String^ filename,
bool append = true
)
new :
filename : string *
?append : bool
(* Defaults:
let _append = defaultArg append true
*)
-> Logger
Parameters
- filename
- Type: SystemString
An output filename to write to. - append (Optional)
- Type: SystemBoolean
A boolean value indicating whether to append to an existing file or overwrite it.
See Also