All Projects → dabeku → Loginator

dabeku / Loginator

Licence: other
High performance log viewer for NLog (chainsaw) and other sources (logcat, etc.)

Programming Languages

C#
18002 projects
XSLT
1337 projects

Projects that are alternatives of or similar to Loginator

Admin.core
Admin后端,前后端分离的权限管理系统,集成统一认证授权,支持国内外主流数据库自由切换和动态高级查询,基于.Net开发的WebApi
Stars: ✭ 358 (+1054.84%)
Mutual labels:  nlog
Logbert
Logbert is an advanced log message viewer for log4net, log4j and others.
Stars: ✭ 70 (+125.81%)
Mutual labels:  nlog
Logdashboard
Log Dashboard
Stars: ✭ 200 (+545.16%)
Mutual labels:  nlog
Splat
Makes things cross-platform
Stars: ✭ 753 (+2329.03%)
Mutual labels:  nlog
Nlog.windows.forms
NLog targets specific for Windows.Forms
Stars: ✭ 35 (+12.9%)
Mutual labels:  nlog
Algorithms
A collection of algorithms and data structures
Stars: ✭ 11,553 (+37167.74%)
Mutual labels:  nlog
Aspnetcore Webapi Course
Professional REST API design with ASP.NET Core 3.1 WebAPI
Stars: ✭ 323 (+941.94%)
Mutual labels:  nlog
resharper-structured-logging
An extension for ReSharper and Rider that highlights structured logging templates and contains some useful analyzers
Stars: ✭ 117 (+277.42%)
Mutual labels:  nlog
Aspnetcorenlog
ASP.NET Core NLog MS SQL Server PostgreSQL MySQL Elasticsearch
Stars: ✭ 54 (+74.19%)
Mutual labels:  nlog
Stove
Domain Driven Design oriented application framework, meets CRUD needs
Stars: ✭ 160 (+416.13%)
Mutual labels:  nlog
Hzdtf.foundation.framework
基础框架系统,支持.NET和.NET Core平台,语言:C#,DB支持MySql和SqlServer,主要功能有抽象持久化、服务层,将业务基本的增删改查抽离复用;提供代码生成器从DB生成实体、持久化、服务以及MVC控制器,每层依赖接口,并需要在客户端将对应实现层用Autofac程序集依赖注入,用AOP提供日志跟踪、事务、模型验证等。对Autofac、Redis、RabbitMQ封装扩展;DB访问提供自动主从访问,Redis客户端分区。特别适合管理系统。
Stars: ✭ 22 (-29.03%)
Mutual labels:  nlog
Nlog.xlogger
A C# .NET class library that extends NLog.Logger to provide additional functionality for tracing the entry and exit, arbitrary checkpoints, exceptions and stack traces within methods.
Stars: ✭ 31 (+0%)
Mutual labels:  nlog
Applicationinsights Dotnet Logging
.NET Logging adaptors
Stars: ✭ 100 (+222.58%)
Mutual labels:  nlog
Nlog
NLog - Advanced and Structured Logging for Various .NET Platforms
Stars: ✭ 5,296 (+16983.87%)
Mutual labels:  nlog
Nlog.web
NLog integration for ASP.NET & ASP.NET Core 1-5
Stars: ✭ 252 (+712.9%)
Mutual labels:  nlog
Meiam.system
.NET 5 / .NET Core 3.1 WebAPI + Vue 2.0 + RBAC 企业级前后端分离权限框架
Stars: ✭ 340 (+996.77%)
Mutual labels:  nlog
Aspnetcoreactivedirectorystarterkit
Starter kit to quickly create ASP.NET Core with On-Premises Active Directory Authentication.
Stars: ✭ 71 (+129.03%)
Mutual labels:  nlog
Autofac.Extras.NLog
An Autofac module to integrate Autofac and NLog, it supports both constructor and property injection.
Stars: ✭ 48 (+54.84%)
Mutual labels:  nlog
NLog.Targets.Syslog
A Syslog server target for NLog
Stars: ✭ 63 (+103.23%)
Mutual labels:  nlog
Aaframework
AA.Framework is built on the popular open source class library of NET Core
Stars: ✭ 128 (+312.9%)
Mutual labels:  nlog

Loginator

The best way to display your logs

Loginator is a high performance log viewer that shows you logs in realtime:

  • Chainsaw (nlog, log4net, log4j, etc.)
  • Logcat (Android)

Download

You can download the current release here or by clicking Releases above.

Preview

Here is how it looks like:

ScreenShot

ScreenShot

Some cool features include

  • Limit the number of logs held in memory
  • Show details of a log like exception, context, etc.
  • Show/Hide logs based on application
  • Show/Hide logs based on namespace
  • Filter output based on log level and expressions
  • Configure log type and port

Issues

If the timestamps are incorrect (i.e. off by x hours): Remove existing configurations from C:\Users\your-username\AppData\Local\Loginator by simply deleting all folders and restarting the application.

TODO (from most to least important)

  • Add option to group by application (name only)
  • Export function
  • Test with log4j and log4net
  • Documentation for installation
  • Other data sources (database, file, etc.) via polling

Chainsaw logging

  • NLog (.net):

In your logging app add a new target

<target xsi:type="Chainsaw" name="chainsaw" address="udp://127.0.0.1:7071" />

or, if you want do include the context

<target xsi:type="Chainsaw" name="chainsaw" address="udp://127.0.0.1:7071" includeMdc="true" />

and add the logger

<logger name="*" minlevel="Trace" writeTo="chainsaw" />

Nested diagnostic logical context support

To use nested diagnostic context in your application add the following attribute to your target

<target xsi:type="Chainsaw"
        includeNdlc="true"
        ...
    />

If Ndlc information is available, it is used as prefix to the message.

e.g.

NestedDiagnosticsLogicalContext.Push("Client 123");
this.logger.Debug("connected");

or in combination with Microsoft.Extensions.Logging and NLog.Extensions.Logging

using (this.logger.BeginScope("Client 123"))
{
    this.logger.LogDebug("connected");
}

is displayed as Client 123 connected in the message column.

Logcat logging

  1. Connect your Android device to your PC or Mac via USB

  2. Find your device ID: /[path-to]/Android/sdk/platform-tools/adb devices

  3. Forward the logcat output to your machine with Loginator running

  • Windows:

[path-to]\Android\sdk\platform-tools\adb.exe -s [your-device-id] logcat | ncat.exe -u [ip-where-loginator-runs] 7081

Please note: As ncat.exe is not part of Windows, you have to download nmap first and use ncat.exe from there. To do that simply visit https://nmap.org/download.html locate and download the "Latest command-line zipfile". Unpack the .zip and take the files: libeay32.dll, ncat.exe and ssleay32.dll and copy them in a separate folder. You now have a valid ncat.exe application.

  • Mac:

cat <(/[path-to]/Android/sdk/platform-tools/adb -s [your-device-id] logcat) | nc -u [ip-where-loginator-runs] 7081

Tested with

  • Chainsaw: NLog (.net), same machine (Windows 10)
  • Logcat: Android logcat (default output format), remote machine (Android: Windows/Mac OSx, Loginator: Windows 10)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].