MooshLogs Method (String, Boolean) |
Creates a logger, with a designated output filename.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static MooshLogger Logs(
string filename,
bool append = true
)
Public Shared Function Logs (
filename As String,
Optional append As Boolean = true
) As MooshLogger
public:
static MooshLogger^ Logs(
String^ filename,
bool append = true
)
static member Logs :
filename : string *
?append : bool
(* Defaults:
let _append = defaultArg append true
*)
-> MooshLogger
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.
Return Value
Type:
MooshLoggerReturns a new Moosh.Logger instance.
See Also