logo-MindMajix
PostGoLangGoLang
S
Surya kumar

Posted on 14th June 2024|16 views

0
votes

Golang Log To File

How to append a log message to a file

1 answers
Answers
P
veerubhotla sowmithri

Posted on 14th June 2024| views

To append a log message to file through the following code:

f, err1 := os1.OpenFile(“text1.log”, os1.0_Append | os1.0_WRONGLY,0644)

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number