Skip to content

Commit 7c17415

Browse files
committed
v1.1.5
* ContextId can now be obtained from the SDConnection object * Fixed small typo in log * Support for log archiving
1 parent 55f3f41 commit 7c17415

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed

barraider-sdtools/Logger.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ public static Logger Instance
7373
private Logger()
7474
{
7575
var config = new NLog.Config.LoggingConfiguration();
76-
var logfile = new NLog.Targets.FileTarget("logfile") { FileName = "pluginlog.log" };
76+
var logfile = new NLog.Targets.FileTarget("logfile") { FileName = "pluginlog.log", ArchiveEvery=NLog.Targets.FileArchivePeriod.Day, MaxArchiveFiles=10, ArchiveFileName="logs/log.{###}.log", ArchiveNumbering=NLog.Targets.ArchiveNumberingMode.Rolling };
7777
config.AddRule(LogLevel.Debug, LogLevel.Fatal, logfile);
7878
NLog.LogManager.Configuration = config;
7979
log = LogManager.GetCurrentClassLogger();
80-
LogMessage(TracingLevel.DEBUG, "Logger Initalized");
80+
LogMessage(TracingLevel.DEBUG, "Logger Initialized");
8181
}
8282

8383
/// <summary>

barraider-sdtools/barraider-sdtools.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88
This library holds all the basic logic of setting up the framework, so that you can focus on writing the logic of the plugin itself.
99
Using this library, you only need to derive from the abstract plugin base class and addd three lines in your program.cs to have a working plugin. More information here: https://github.com/BarRaider/barraider-sdtools</Description>
1010
<Copyright>Copyright © BarRaider 2019</Copyright>
11-
<PackageLicenseUrl>https://github.com/BarRaider/barraider-sdtools/blob/master/LICENSE</PackageLicenseUrl>
12-
<PackageProjectUrl>https://github.com/BarRaider/barraider-sdtools</PackageProjectUrl>
13-
<RepositoryUrl>https://github.com/BarRaider/barraider-sdtools</RepositoryUrl>
11+
<PackageLicenseUrl>https://github.com/BarRaider/streamdeck-tools/blob/master/LICENSE</PackageLicenseUrl>
12+
<PackageProjectUrl>https://github.com/BarRaider/streamdeck-tools</PackageProjectUrl>
13+
<RepositoryUrl>https://github.com/BarRaider/streamdeck-tools</RepositoryUrl>
1414
<PackageTags>StreamDeck Elgato Library Plugin Stream Deck</PackageTags>
1515
<PackageId>StreamDeck-Tools</PackageId>
1616
<PackageIconUrl>https://raw.githubusercontent.com/BarRaider/barraider.github.io/master/images/BRLogo.png</PackageIconUrl>
1717
<AssemblyVersion>1.1.5.0</AssemblyVersion>
1818
<FileVersion>1.1.5.0</FileVersion>
1919
<Version>1.1.5</Version>
20-
<PackageReleaseNotes>* ContextId can now be obtained from the SDConnection object</PackageReleaseNotes>
20+
<PackageReleaseNotes>* ContextId can now be obtained from the SDConnection object
21+
* Fixed small typo in log</PackageReleaseNotes>
2122
</PropertyGroup>
2223
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
2324
<DocumentationFile>D:\Projects\github\barraider-sdtools\barraider-sdtools\barraider-sdtools.xml</DocumentationFile>

barraider-sdtools/barraider-sdtools.xml

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)