Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LogThem
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Joseph Perthold
  • LogThem
  • Wiki
  • Log Format

Log Format · Changes

Page history
Create Log Format authored Aug 14, 2024 by Joseph Perthold's avatar Joseph Perthold
Show whitespace changes
Inline Side-by-side
Log-Format.md 0 → 100644
View page @ cf8166a0
There are a few Placeholders to use in the Log Format!
<h3>%date%<h3>
This Placeholder will be replace, on Log send, with the Current Date, and if set the DateTimeFormat Provided!
<h3>%message%<h3>
This Placeholder will be replace, with the message that is being save/written to the log!
An example usage for this would be
```java
.setLogFormat("[%date%]: %message%");
```
But if you would rather like to stick with the default log setup, you can either not a setter, or you can add
```java
.useDefaultLogFormat();
```
to the Arguments.
The default Log format is:
```java
"[%date%]: %message%"
```
\ No newline at end of file
Clone repository
  • File DateTimeFormat
  • Location
  • Log DateTimeFormat
  • Log Format
  • _sidebar
  • Home