xlogscan

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

xlogscan

import "github.com/azorg/xlog/cmd/xlogscan"

Command xlogscan - разбор и выборка из журналов формата xlog.

Читает text/JSON-строки журнала, фильтрует по уровню, подсистеме и полям, умеет показывать хвост и сводку по уровням. Используется для диагностики сервера/клиента без grep по сырому JSON.

Index

Constants

const (
    APP_NAME         = "xlogscan"         // имя приложения
    APP_DESCRIPTION  = "X-Logger Scanner" // описание приложения
    VERSION_MAJOR    = "x"                // старший номер версии
    VERSION_MINOR    = "y"                // младший номер версии
    VERSION_BUILD    = "z"                // номер сборки
    DEBUG_CTRL_BS    = true               // Подключить обработчик сигнала на Ctrl+\
    LOGROTATE_SIGHUP = true               // Ротация журнала по SIGHUP
)

Variables

var BuildTime string

var GitHash string

var Version = VERSION_MAJOR + "." + VERSION_MINOR + "." + VERSION_BUILD

type Opt

Опции командной строки

type Opt struct {
    File  string // входной файл журнала
    Chain bool   // признак обработки цепочки
}

Generated by gomarkdoc

Documentation

Overview

Command xlogscan - разбор и выборка из журналов формата xlog.

Читает text/JSON-строки журнала, фильтрует по уровню, подсистеме и полям, умеет показывать хвост и сводку по уровням. Используется для диагностики сервера/клиента без grep по сырому JSON.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL