Logging Framework with Tungsten TotalAgility

Professional Services
|
July 6, 2020
2 min read

Logging is an essential part of any application and it becomes a critical part of the custom applications built using Tungsten TotalAgility. For implementing custom solution in Tungsten TotalAgility, .Net Assemblies are utilised and for the logging feature, we do not want to re-invent the wheel by writing from-the-scratch logging components.

Yes, the solution is taking advantage of open-source logging frameworks available in the market and there are plenty !!!

However, choosing a open-source framework that fits in our application is the key factor as these components becomes an integral part and there is no turning back. After a spending sometime on look out suitable for logging frameworks, log4net and NLog were the candidates for us to evaluate.

Both are solid logging frameworks and capabilities are immense. However, there are subtle differences which over weighs one with another. And finally we chose NLog as the logging framework for our product and custom implementations.

Why did we choose NLog over log4net

  1. NLog is setup is seamless.
  2. log4net code base has not been updated for last three years. A question may rise why a framework needs an update if it is stable. The answer is very subjective, however as open-source framework we see more the updates/changes, the code base becomes more stable and it evolves with time.
  3. NLog code base is more cleaner than log4net.

Okay… Now we will setup NLog in a .Net project and it is literally a cake-walk.

Install nuget package “NLog -Version 4.7.0” using following command in Package Manager Console for the desired Visual Studio project.

To enable logging in a custom database, copy the following in the <configuration> section of web.config/app.config and configure the database connection details

Above configuration will enable NLog to write the log to a text file to ‘c:\temp\myapplication.log’ and as well as in ‘acmo_log’ database table.

Use the following code in the class globally to initialize the Logger object

NLog supports the following log levels.

  • Trace – very detailed logs, which may include high-volume information such as protocol payloads. This log level is typically only enabled during development
  • Debug – debugging information, less detailed than trace, typically not enabled in production environment.
  • Info – information messages, which are normally enabled in production environment
  • Warn – warning messages, typically for non-critical issues, which can be recovered or which are temporary failures
  • Error – error messages – most of the time these are Exceptions
  • Fatal – very serious errors!

Use the “Logger” object to utilise the different log level methods as mentioned below.

Logging Framework with Tungsten TotalAgility

Professional Services
|
July 6, 2020
2 min read

Logging is an essential part of any application and it becomes a critical part of the custom applications built using Tungsten TotalAgility. For implementing custom solution in Tungsten TotalAgility, .Net Assemblies are utilised and for the logging feature, we do not want to re-invent the wheel by writing from-the-scratch logging components.

Yes, the solution is taking advantage of open-source logging frameworks available in the market and there are plenty !!!

However, choosing a open-source framework that fits in our application is the key factor as these components becomes an integral part and there is no turning back. After a spending sometime on look out suitable for logging frameworks, log4net and NLog were the candidates for us to evaluate.

Both are solid logging frameworks and capabilities are immense. However, there are subtle differences which over weighs one with another. And finally we chose NLog as the logging framework for our product and custom implementations.

Why did we choose NLog over log4net

  1. NLog is setup is seamless.
  2. log4net code base has not been updated for last three years. A question may rise why a framework needs an update if it is stable. The answer is very subjective, however as open-source framework we see more the updates/changes, the code base becomes more stable and it evolves with time.
  3. NLog code base is more cleaner than log4net.

Okay… Now we will setup NLog in a .Net project and it is literally a cake-walk.

Install nuget package “NLog -Version 4.7.0” using following command in Package Manager Console for the desired Visual Studio project.

To enable logging in a custom database, copy the following in the <configuration> section of web.config/app.config and configure the database connection details

Above configuration will enable NLog to write the log to a text file to ‘c:\temp\myapplication.log’ and as well as in ‘acmo_log’ database table.

Use the following code in the class globally to initialize the Logger object

NLog supports the following log levels.

  • Trace – very detailed logs, which may include high-volume information such as protocol payloads. This log level is typically only enabled during development
  • Debug – debugging information, less detailed than trace, typically not enabled in production environment.
  • Info – information messages, which are normally enabled in production environment
  • Warn – warning messages, typically for non-critical issues, which can be recovered or which are temporary failures
  • Error – error messages – most of the time these are Exceptions
  • Fatal – very serious errors!

Use the “Logger” object to utilise the different log level methods as mentioned below.

Here is our comparison chart of the top 6 eSignature software solutions in 2022

Annual Cost per user $AU
Number of users allowed
Signing packages/year
In-person eSignature
Reusable Templates/drag and drop editor
Collect Payments
Automatic reminders & notifcations
Bulk Send
On-premise deployment
Cloud deployment
Hybrid deployment
Signature biometrics
Multiple input fields
Guided Signing
Delegate Signing
Stage Signing
Fully Customizable Signing Workflows
100% Personalised Branding
Custom Settings/ user rolls
Multifactor authentication
Mobile app
Enterprise-grade security
Free Trial available
API integrations
Audit trail
Supported Languages
US ESIGN, HIPAA
GDPR, eIDAS compliant
Upload documents as part of signing (photos)
Personal
Standard
Business Pro
Advanced
$168
$408
$660
Cust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
Y
Y
Y
Y
Y
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
N
Y
N
N
N
N
Y
Y
Y
Y
SOC 2 Type II
SOC 2 Type II
SOC 2 Type II
SOC 2 Type II
Free
Y
Y
Y
N
N
N
Y
N
Y
Y
Y
Info N/A
Info N/A
Info N/A
Info N/A
Info N/A
Info N/A
Info N/A
Info N/A
Y
Y
Y
Y
Info N/A
Info N/A
Info N/A
Info N/A
Business
Premium
Enterprise
Cloud
$141
$264
$529
$894
10
10
10
10
Unlimited
Unlimited
Unlimited
Unlimited
1
2+
2+
2+
Y
Y
Y
Y
N
N
Info N/A
Info N/A
N
Y
Y
Y
N
Y
Y
Y
N
N
N
N
Y
Y
Y
Y
N
N
N
N
N
N
N
N
Y
Y
Y
Y
Y
Y
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
N
N
N
Y
Y
Y
Y
Info N/A
Info N/A
Info N/A
Info N/A
Y
Y
Y
Y
Y
Y
Y
Y
N
N
Y
Y
Standard
Pro
Acrobat Sign
$264
$418
Custom Quote
Unlimited
Unlimited
Unlimited
Unlimited
Unlimited
Unlimited
Y
Y
Y
Y
Y
Y
N
Y
Y
Y
Y
Y
N
Y
Y
N
N
N
Y
Y
Y
N
N
N
N
N
India Only (Aadhar)
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
Y
Y
Y
Y
Y
N
Y
Y
N
Y
Y
N
N
Y
Y
Y
Y
N
N
Y
Y
Y
Y
N
N
Y
Y
Y
Y
34
34
34
Y
Y
Y
Y
Y
Y
N
N
N

Try before you buy

Using our handy comparison chat you can now see the cost-to-feature breakdown of the top 6 e-Signature providers. All these providers offer a free trial of their software, so it’s worth doing some personal investigation and trying out the software yourself. ACMO offer a free 7-day trial of Kofax SignDoc via our Signmore solution.

Understand How is ACMO helping businesses accomplish more with intelligent automation

Related Posts