VLogFile 0.1.3
dotnet add package VLogFile --version 0.1.3
NuGet\Install-Package VLogFile -Version 0.1.3
<PackageReference Include="VLogFile" Version="0.1.3" />
<PackageVersion Include="VLogFile" Version="0.1.3" />
<PackageReference Include="VLogFile" />
paket add VLogFile --version 0.1.3
#r "nuget: VLogFile, 0.1.3"
#:package VLogFile@0.1.3
#addin nuget:?package=VLogFile&version=0.1.3
#tool nuget:?package=VLogFile&version=0.1.3
VLogFile
Write lines to log file
Version: 0.1.2
Use a static class Logger.
Properties:
LogDirectory
Gets or sets Name of directory for saving log files.
Default: "Logs"
LogFolder
Gets or sets path to save the directory LogDirectory.
Application | MyDocuments | ApplicationData | LocalApplicationData | UserProfile.
Default: ApplicationData
FileNameFormat
Gets or sets Log file name DateTime format.
Default: "yyyyMMdd"
ImmidiateWrite
Gets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after any write call.
Default: false
BufferSize
Gets or sets write buffer size in lines (ImmidiateWrite is false).
Default: 10000
WriteDateTime
Gets or sets value that indicates whether the write date and/or time to beginning of line.
Default: true
DateTimeFormat
Gets or sets date and/or time format at the beginning of line (WriteDateTime is true).
Default: "G"
Formats
Gets Format Dictionary.
Methods:
void AddFormat(string formatName, string format)
Adds format to Format Dictionary.
async Task WriteLine(string line)
Asynchronously writes a string to the stream, followed by a line terminator.
async Task WriteLines(IEnumerable<string> lines)
Asynchronously writes array of strings to the stream.
async Task WriteLine(string formatName, params object[] param)
Asynchronously writes array of parameters by format from Format Dictionary.
async Task WriteLines(string formatName, IEnumerable<object[]> param)
Asynchronously writes array containing an array of parameters by format from Format Dictionary.
async Task WriteLineFormat(string format, params object[] param)
Asynchronously writes array of parameters by format.
async Task WriteLinesFormat(string format, IEnumerable<object[]> param)
Asynchronously writes array containing an array of parameters by format.
async Task WriteError(Exception e)
Asynchronously writes Exception information.
async Task SaveChanges()
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying stream (ImmidiateWrite is false).
void Dispose()
SaveChanges and releases all resources used by the StreamWriter object.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.