---
title: "Discussion on \"SLF4J Error Log Format\" | Hashnode"
description: "Discussion on \"SLF4J Error Log Format\". Variable s has string value. If I put that variable in Integer.valueOf method, I must encounter NumberFormatException. But It's not important. I just want to make exception.\nLet's see the below code. I can log variable s and exception e together usin..."
url: "https://hashnode.com/posts/slf4j-error-log-format/626cfc22b7dcabd258e762a5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SLF4J Error Log Format](https://yangbongsoo.hashnode.dev/slf4j-error-log-format?utm_source=hashnode&utm_medium=feed)

Variable s has string value. If I put that variable in Integer.valueOf method, I must encounter NumberFormatException. But It's not important. I just want to make exception. Let's see the below code. I can log variable s and exception e together usin...

Apr 30, 2022 · 1 min read · yangbongsoo.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#logging](https://hashnode.com/tag/logging)

## Written by

[yangbongsoo](https://hashnode.com/@yangbongsoo)

@yangbongsoo · south korea

  
[View profile](https://hashnode.com/@yangbongsoo)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
