# How to add date-time to Base.info

**URL:** <https://discourse.julialang.org/t/how-to-add-date-time-to-base-info/4517>\
**Category:** General Usage\
**Created:** [June 28, 2017, 1:14pm UTC](https://discourse.julialang.org/t/how-to-add-date-time-to-base-info/4517 "2017-06-28T13:14:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimran](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kimran/32/7782_2.png) [@kimran](https://discourse.julialang.org/u/kimran)\
**Post date:** [June 28, 2017, 1:14pm UTC](https://discourse.julialang.org/t/how-to-add-date-time-to-base-info/4517/1 "2017-06-28T13:14:43Z")

</div>

Lets say I want the current date time displayed, when I call `info`

I think I could use

`logging(io,kind=:info)`

to redirect `info` messages to another `IOStream`

But I cannot figure out how to implement this `IOStream` that will get the message, pre-pend the date time info and then `println` this  
I guess I need to create an `IOStream` and start an `@async` Task which listens to the `IOStream` and then does the work

But how to do this exactly?

Any help appreciated
