techrail / bark-java-client Goto Github PK
View Code? Open in Web Editor NEWJava Client for Bark
License: MIT License
Java Client for Bark
License: MIT License
Logging for stdout should have flag to enable Base CEF Format i.e.
LogTime | LogLevel | serviceName | sessionName | LogCode | Message | MoreData
E.g. 2023-10-20 23:15:00 | DEBUG | testSvc | testSess | 23456 | Some random message | {}
We should modify SendLogsToServer message to accept BarkLog model just like we have dispatchLogMessage
in Go client. It would help in implementing #6
Allow users to import the client library into their project using one of the three common ways:
When we are in production, we typically don't need the debug level logs. The client should allow us to either enable or disable the debug level logs for being sent from the client to whatever is the destination (server, stdout, file etc.).
Add functionality to parse the error message provided by the user and extract the logging level, error code, and message from the string.
E#54FT - Some message
Log level : error
Error code : 54FT
Message : Some message
Create a function to allow user to set json value in MoreData field.
For example,
more_data: {
fileName:"",
lineNumber:"",
someAdditionalInfo:""}
Add a boolean flag sendLogsToServer
in Config class and required functionality which will just log the message and will not send to server.
We have functions in client to send only one line of text. But we should have a function that accepts complete BarkLog model, so that user can create BarkLog object and send that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.