Skip to content

Commit cb6b78a

Browse files
committed
Version 2402, Revision 0
1 parent f9b1e1a commit cb6b78a

File tree

131 files changed

+2055
-3521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2055
-3521
lines changed

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,48 @@ Please find all about the **ALox Logging Library**, including
77
* **FAQ** and the
88
* **Change log**
99

10-
at the [ALox Homepage](http://alexworx.github.io/ALox-Logging-Library).
10+
at the [ALox Homepage](https://alexworx.github.io/ALox-Logging-Library).
1111

1212

1313

1414
## Overview ##
1515

1616
ALox is a software library providing an ecosystem for structured and organized log output.
1717

18-
ALox is available as [ALox for C++ 11](http://alexworx.github.io/ALox-Logging-Library/cpp_ref/cppmainpage.html), [ALox for C#](http://alexworx.github.io/ALox-Logging-Library/cs_ref/csmainpage.html) and [ALox for Java](http://alexworx.github.io/ALox-Logging-Library/java_ref/javamainpage.html).
18+
ALox is available as [ALox for C++ 11](https://alexworx.github.io/ALox-Logging-Library/cpp_ref/cppmainpage.html), [ALox for C#](https://alexworx.github.io/ALox-Logging-Library/cs_ref/csmainpage.html) and [ALox for Java](https://alexworx.github.io/ALox-Logging-Library/java_ref/javamainpage.html).
1919

20-
To reach this goal, ALox is featured by **ALib** (see ALib for [C++](https://alexworx.github.io/ALib-Class-Library/index.html),[C#](http://alexworx.github.io/ALox-Logging-Library/cs_ref/alox_cs_mainpage.html),[Java](http://alexworx.github.io/ALox-Logging-Library/java_ref/alox_cs_mainpage.html)), which is a basic utility library that among other goals
20+
To reach this goal, ALox is featured by **ALib** (see ALib for [C++](https://alib.dev/alib_mod_alox.html),[C#](https://alexworx.github.io/ALox-Logging-Library/cs_ref/alox_cs_mainpage.html),[Java](https://alexworx.github.io/ALox-Logging-Library/java_ref/alox_cs_mainpage.html)), which is a basic utility library that among other goals
2121
provides *'source-compatible'* types for the three languages.
2222

2323
ALox attempts to make logging as easy and intuitive as possible. We want you to **stop adding temporary debug output lines** into your code. Instead, write (with less effort!) short, nice and readable *ALox statements* that live in your code as if they were comment lines. Let ALox do the rest: Add meta information to the output, format the output, filter output based on verbosity level and based on your current topic of interest. Finally, get it all *pruned* out of your release executable, same as your source comments.
2424

2525
On the other end of the list, ALox enables **release logging** for productive applications to collect mission critical **metrics from the field**.
2626

27-
This is **Version 1903 Revision 0**.
27+
This is **Version 2402 Revision 0**.
2828

2929
## C++ Version ##
3030
As of library version 1805, the C++ codebase was extracted from this repository.
3131
**ALox for C++** became a "module" of general purpose class library **"ALib"**.
32-
Consequently, the C++ sources of ALox are to be retrieved at
33-
[ALib for C++ Github Repository](https://github.com/AlexWorx/ALib-Class-Library).
3432

35-
**ALib for C++** also disposes about a dedicated [homepage](http://alexworx.github.io/ALib-Class-Library).
33+
Consequently, **ALib for C++** also disposes about a dedicated [homepage](https://alib.dev/alib_mod_alox.html).
3634

3735

3836
## Features ##
3937

40-
* Available for **C++ 11** (GNU/Linux, Windows OS, macOS), **C#** (.Net, Windows, Linux, Microsoft, Mono) and **Java**
38+
* Available for **C++ 17/21** (GNU/Linux, Windows OS, macOS, Raspberry OS), **C#** (.Net, Windows, Linux, Microsoft, Mono) and **Java**
4139
(with Android support and extensions).
4240

4341
* **Free software**, published under Boost Software License.
4442

45-
* Jump-start **tutorials** for [ALox for C++](http://alexworx.github.io/ALox-Logging-Library/cpp_ref/cpptutorial.html),[ALox for C#](http://alexworx.github.io/ALox-Logging-Library/cs_ref/cstutorial.html) and [ALox for Java](http://alexworx.github.io/ALox-Logging-Library/java_ref/javatutorial.html), **Sample Projects** and pre-configured project files for **different IDEs** and **CMake**.
43+
* Jump-start **tutorials** for [ALox for C++](https://alib.dev/alib_mod_alox.html),[ALox for C#](https://alexworx.github.io/ALox-Logging-Library/cs_ref/cstutorial.html) and [ALox for Java](https://alexworx.github.io/ALox-Logging-Library/java_ref/javatutorial.html), **Sample Projects** and pre-configured project files for **different IDEs** and **CMake**.
4644

4745
* **Formatted**, **colorful** and **configurable** log output** with support for ANSI compatible consoles and Windows OS consoles.
4846

4947
* Log lines **'clickable' in IDE** to jump to the corresponding source code line (depending on IDE).
5048

5149
* Automatic collection of **meta information** like time stamp, time-difference to previous log, executing thread or executing source scope information (platform/language dependent).
5250

53-
* Automatic removal, aka **'pruning'**, of *debug-log* statements from release code mostly without the need of pre-processor if/endif code cluttering. Optionally also automatic pruning of *release-log* statements. (In Java: implemented using [Proguard](http://proguard.sourceforge.net), with provision of ready to use configuration files.
51+
* Automatic removal, aka **'pruning'**, of *debug-log* statements from release code mostly without the need of pre-processor if/endif code cluttering. Optionally also automatic pruning of *release-log* statements. (In Java: implemented using [Proguard](https://proguard.sourceforge.net), with provision of ready to use configuration files.
5452

5553
- Minimal intrusiveness in respect to *cluttering* your code and what you need to make it really work.
5654

@@ -90,31 +88,32 @@ Consequently, the C++ sources of ALox are to be retrieved at
9088

9189
* C++ version:
9290
* Compiled and tested on **GNU/Linux**, **Windows OS** and Apple **macOS**.
93-
* Accepts **arbitrary objects** to be logged. This goal is reached by using underlying library [ALib Boxing](http://alexworx.github.io/ALox-Logging-Library/cpp_ref/namespaceaworx_1_1lib_1_1boxing.html) which allows to pass 'anything' as a parameter to C++ functions and methods.
94-
* Accepts **3rd party string types**. This goal is reached by using underlying library [ALib Strings](http://alexworx.github.io/ALox-Logging-Library/cpp_ref/namespaceaworx_1_1lib_1_1strings.html).
91+
* Accepts **arbitrary objects** to be logged. This goal is reached by using underlying library [ALib Boxing](https://alib.dev/alib_mod_boxing.html) which allows to pass 'anything' as a parameter to C++ functions and methods.
92+
* Accepts **3rd party string types**. This goal is reached by using underlying library [ALib Strings](https://alib.dev/alib_mod_strings.html).
93+
* **Note: The C++ version moved to a different website:** [ALox for C++](https://alib.dev/alib_mod_alox.html)
9594

9695
* and finally: ALox is under **continuous development**. You're invited to contribute!
9796

9897
#Alternatives
9998
The following alternatives to **ALox** may be worth mentioning:
10099

101100
**For C++:**
102-
- [boost.Log](http://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/index.html)
101+
- [boost.Log](https://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/index.html)
103102
- [Google glog](https://github.com/google/glog)
104-
- [Pantheios](http://www.pantheios.org/)
103+
- [Pantheios](https://www.pantheios.org/)
105104
- [log4cplus](https://sourceforge.net/p/log4cplus/wiki/Home/)
106-
- [log4cpp](http://log4cpp.sourceforge.net/)
105+
- [log4cpp](https://log4cpp.sourceforge.net/)
107106

108107
**For C#:**
109108
- [Apache Log4net](https://logging.apache.org/log4net/)
110-
- [nlog](http://nlog-project.org/)
111-
- CSharp-Source.Net provides an [extensive list](http://csharp-source.net/open-source/logging) of further alternatives.
109+
- [nlog](https://nlog-project.org/)
110+
- CSharp-Source.Net provides an [extensive list](https://csharp-source.net/open-source/logging) of further alternatives.
112111

113112

114113
**For Java:**
115114
- [built-in java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html)
116115
- [Apache Log4j](https://logging.apache.org/log4)
117-
- Java-Source.Net provides an [extensive list](http://java-source.net/open-source/logging) of further alternatives.
116+
- Java-Source.Net provides an [extensive list](https://java-source.net/open-source/logging) of further alternatives.
118117

119118

120119

build/ide.cs.rider/ALox-CS-.Net45-NUnit/ALox-CS-.Net45-NUnit.csproj

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\Solution\packages\NUnit.4.1.0\build\NUnit.props" Condition="Exists('..\Solution\packages\NUnit.4.1.0\build\NUnit.props')" />
34
<PropertyGroup>
45
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
56
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
67
<ProjectGuid>{02F564D1-4867-4018-8430-1A3DF92ABF2D}</ProjectGuid>
78
<OutputType>Library</OutputType>
89
<RootNamespace>ALoxCS.Net45NUnit</RootNamespace>
910
<AssemblyName>ALox-CS-.Net45-NUnit</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1112
<ReleaseVersion>1.3</ReleaseVersion>
13+
<LangVersion>latestmajor</LangVersion>
1214
</PropertyGroup>
1315
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1416
<DebugSymbols>true</DebugSymbols>
@@ -33,35 +35,51 @@
3335
<DefineConstants>ALIB_NUNIT,ALIB_IDE_RIDER;ALOX_REL_LOG;</DefineConstants>
3436
</PropertyGroup>
3537
<ItemGroup>
38+
<Reference Include="mscorlib" />
39+
<Reference Include="nunit.framework, Version=4.0.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
40+
<HintPath>..\Solution\packages\NUnit.4.1.0\lib\net462\nunit.framework.dll</HintPath>
41+
</Reference>
42+
<Reference Include="nunit.framework.legacy, Version=4.0.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
43+
<HintPath>..\Solution\packages\NUnit.4.1.0\lib\net462\nunit.framework.legacy.dll</HintPath>
44+
</Reference>
3645
<Reference Include="System" />
46+
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
47+
<HintPath>..\Solution\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
48+
</Reference>
49+
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
50+
<HintPath>..\Solution\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
51+
</Reference>
3752
<Reference Include="System.Xml" />
3853
<Reference Include="System.Xml.Linq" />
3954
<Reference Include="System.Web.Extensions" />
40-
<Reference Include="nunit.framework">
41-
<HintPath>..\Solution\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
42-
</Reference>
4355
</ItemGroup>
4456
<ItemGroup>
57+
<Compile Include="..\..\..\src.cs\alib.unittests\AWorxUnitTesting.cs">
58+
<Link>ut.ALib\AWorxUnitTesting.cs</Link>
59+
</Compile>
4560
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_config.cs">
4661
<Link>ut.ALib\UT_alib_config.cs</Link>
4762
</Compile>
4863
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_AString.cs">
4964
<Link>ut.ALib\UT_alib_strings_AString.cs</Link>
5065
</Compile>
51-
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_threads.cs">
52-
<Link>ut.ALib\UT_alib_threads.cs</Link>
66+
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_AStringAndSubstring.cs">
67+
<Link>ut.ALib\UT_alib_strings_AStringAndSubstring.cs</Link>
5368
</Compile>
54-
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_time.cs">
55-
<Link>ut.ALib\UT_alib_time.cs</Link>
69+
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_Format.cs">
70+
<Link>ut.ALib\UT_alib_strings_Format.cs</Link>
5671
</Compile>
5772
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_Substring.cs">
5873
<Link>ut.ALib\UT_alib_strings_Substring.cs</Link>
5974
</Compile>
60-
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_AStringAndSubstring.cs">
61-
<Link>ut.ALib\UT_alib_strings_AStringAndSubstring.cs</Link>
75+
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_threads.cs">
76+
<Link>ut.ALib\UT_alib_threads.cs</Link>
77+
</Compile>
78+
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_time.cs">
79+
<Link>ut.ALib\UT_alib_time.cs</Link>
6280
</Compile>
6381
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_util_stringtree.cs">
64-
<Link>ut.ALib/UT_alib_util_stringtree.cs</Link>
82+
<Link>ut.ALib\UT_alib_util_stringtree.cs</Link>
6583
</Compile>
6684
<Compile Include="..\..\..\src.cs\alox.unittests\UT_alox_domains.cs">
6785
<Link>ut.ALox\UT_alox_domains.cs</Link>
@@ -96,25 +114,24 @@
96114
<Compile Include="..\..\..\src.cs\alox.unittests\UT_dox_tutorial.cs">
97115
<Link>ut.ALox\UT_dox_tutorial.cs</Link>
98116
</Compile>
99-
<Compile Include="..\..\..\src.cs\alib.unittests\AWorxUnitTesting.cs">
100-
<Link>ut.ALib\AWorxUnitTesting.cs</Link>
101-
</Compile>
102-
<Compile Include="..\..\..\src.cs\alib.unittests\UT_alib_strings_Format.cs">
103-
<Link>ut.ALib\UT_alib_strings_Format.cs</Link>
104-
</Compile>
105117
</ItemGroup>
106118
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
107119
<ItemGroup>
108120
<Folder Include="ut.ALox\" />
109-
<Folder Include="ut.ALib\" />
110-
</ItemGroup>
111-
<ItemGroup>
112-
<None Include="packages.config" />
113121
</ItemGroup>
114122
<ItemGroup>
115123
<ProjectReference Include="..\ALox-CS-.Net45-DLL-Release-Log\ALox-CS-.Net45-DLL-ReleaseLog.csproj">
116124
<Project>{E8E5D176-ECE6-4757-931A-FCEAD361F8C7}</Project>
117125
<Name>ALox-CS-.Net45-DLL-ReleaseLog</Name>
118126
</ProjectReference>
119127
</ItemGroup>
128+
<ItemGroup>
129+
<None Include="packages.config" />
130+
</ItemGroup>
131+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
132+
<PropertyGroup>
133+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
134+
</PropertyGroup>
135+
<Error Condition="!Exists('..\Solution\packages\NUnit.4.1.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\Solution\packages\NUnit.4.1.0\build\NUnit.props'))" />
136+
</Target>
120137
</Project>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="2.6.4" targetFramework="net45" />
3+
<package id="NUnit" version="4.1.0" targetFramework="net48" />
4+
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net48" />
5+
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
46
</packages>

0 commit comments

Comments
 (0)