2020-02-04 14:48:11 +08:00
2018-09-26 11:35:19 +08:00
2018-09-26 11:36:23 +08:00
2018-09-26 11:43:48 +08:00
2019-12-17 15:22:10 +08:00

Logan

license Release Version PRs Welcome Platform Support

中文说明

Overview

Logan is a log server platform with ability to collect、store、upload and analyz logs.we provide five components,including Android SDKiOS SDKWeb SDK,analysis services Server SDK and Website.In addition wo also provide an Flutter plugin Flutter Plugin.

Architecture

Logan

Overivew of Website

search Logs

Logan

Log detail

Logan

How to use demo

Log protocol

Quick start

Server

  • Server access document - Server

iOS

Use SDK in your project

First create a file named Podfile ,then copy the following code into the file .

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

target 'TargetName' do

pod 'Logan', '~> 1.2.5'

end

Finally run the following command in root directory of your project.

pod install 

iOS document - iOS SDK

Android

Android Studio: Not required, version 3.4 or higher is recomand.

NDK: r16b

CMake: >= 3.4.1

Jdk: 1.7 or 1.8recomand

Android document - Android SDK

Website

Environment

Node: ^10.15.3
yarn: ^1.15.2 或 npm ^6.12.0

Install

First, clone the repository into to local.

Create .env.development in the directory of LoganSite,and set API_BASE_URL like below:

API_BASE_URL=http://location/to/your/server:port

Then execute the following command

$ cd $LOGAN_SITE
$ npm install
$ npm run start

or

$ cd $LOGAN_SITE
$ yarn
$ yarn start

Build

First, clone the repository into to local.

Replace the fourth line in LoganSite/src/common/api.js with follow:

const BASE_URL = "http://location/to/your/server:port"

Then execute the following command

$ cd $LOGAN_SITE
$ npm install
$ npm run build

or

$ cd $LOGAN_SITE
$ yarn
$ yarn build

Website document - Website

Best Practices

Before Logan available, log report system is relatively scattered.

Before_Logan

To put it simply, the traditional idea is to piece together the problems that appear in the logs of each system, but the new idea is to aggregate and analyze all the logs generated by the user to find the scenes with problems.

The Logan core system consists of four modules:

  • Input
  • Storage
  • BackEnd
  • FrontEnd

Logan_Process

The new case analysis process is as follows:

Logan_Case

Feature

In the future, we will provide a data platform based on Logan big data, including advanced functions such as machine learning, troubleshooting log solution, and big data feature analysis.

Finally, we hope to provide a more complete integrated case analysis ecosystem.

Logan_System

Module Open Source Processing Planning
iOS & macOS
Android
Web
Mini Programs
Back End
Front End

Contributing

For more information about contributing PRs and issues, see our Contribution Guidelines.

Authors

See also the list of contributors who participated in this project.

License

Logan is licensed under the MIT License - see the LICENSE file for details.

Article

A lightweight case logging system based on mobile platform developed by Meituan-Dianping — Logan

Logan: Open Source

Acknowledgments

Description
Logan is a lightweight case logging system based on mobile platform.
Readme MIT 26 MiB
Languages
C 80.7%
JavaScript 9.7%
Java 5.5%
TypeScript 1.5%
Objective-C 1.5%
Other 1%